Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed a border case bug: first WebSocket frame has only one byte of payload #234

Closed
wants to merge 1 commit into from

Conversation

tinx
Copy link

@tinx tinx commented Nov 29, 2011

There was a bug that caused the first WebSocket packet in a Mojo::UserAgent script to be ignored if it had only one byte of payload data. It probably also affected WebSocket servers including Morbo. I've fixed the bug, double checked with the WebSocket draft-17 and added a couple of regression tests. (which failed without the fix and work fine now)

@kraih
Copy link
Member

kraih commented Nov 29, 2011

Thanks, applied. :)

@kraih kraih closed this Nov 29, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants