FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix Websocket sent frame length by quentin · Pull Request #59 · fhessel/esp32_https_server · GitHub

Repository navigation

fix Websocket sent frame length - #59

Merged
fhessel merged 1 commit into
fhessel:masterfrom
quentin:frame-length-issue
Nov 24, 2019
Merged

fhessel merged 1 commit into
fhessel:masterfrom
quentin:frame-length-issue

Conversation

quentin commented Nov 17, 2019

Copy link
Copy Markdown
Contributor

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.

fhessel left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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 merged commit 4e66fe5 into fhessel:master Nov 24, 2019
quentin deleted the frame-length-issue branch November 29, 2019 19:06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL