Your example prints "129 129" with v0.6.3 here.
Your example prints "129 129" with v0.6.3 here.
Just so we're on the same page, you're saying that v0.6.3 parses it
correctly and v0.4.12 is off by one byte, right?
correctly and v0.4.12 is off by one byte, right?Just so we're on the same page, you're saying that v0.6.3 parses it
'some-websocket-data'var data = 'HTTP/1.1 101 Switching Protocols\r\n' +'\r\n\r\n' +'Upgrade: websocket\r\n' +'Connection: Upgrade\r\n' +'Sec-WebSocket-Accept: mpjqnyL7O0+du6j6anallhhkLKo=' +
It has fixed since Node v0.5.4.
https://github.com/joyent/http-parser/commit/d4ca280af5287d6753099e1624727f4b530fe2cb
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to nod...@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+un...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
– Micheil