Skip to content

Conversation

@quentin
Copy link
Contributor

@quentin quentin commented Nov 17, 2019

Hi, while testing the Websocket feature and reviewing the code, I found a typo that would lead to a wrong frame length sent when the frame data is larger than 126 bytes.

I also notice that there will still be an issue when the sent data is larger than 2^16 bytes because the frame length must be encoded on 7 + 64 bits in that case.

Copy link
Owner

@fhessel fhessel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, approved. I should've seen that earlier, as the compile logs are quite clear bout this.

Regarding small and large frame lengths (126 or 127 in Payload len), I created #61 to track the progress.

@fhessel fhessel merged commit 4e66fe5 into fhessel:master Nov 24, 2019
@quentin quentin deleted the frame-length-issue branch November 29, 2019 19:06
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