Automattic/engine.io-parser — pull request #27 by christophwitzko (2014-06-24 22:10:55+00:00)
Title: fix decodePayloadAsBinary memory leak

If `data` has no byte with the value 255, the `for` loop will not exit and `bufferTail` gets bigger and bigger until the nodejs server (in my case) crashes.

`strLen.length > 310` (Number.MAX_VALUE is about 310 characters long)