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

websocket lager number > 65536 writeFrame bug #247

Open
baiyfcu opened this issue Jul 30, 2018 · 2 comments
Open

websocket lager number > 65536 writeFrame bug #247

baiyfcu opened this issue Jul 30, 2018 · 2 comments

Comments

@baiyfcu
Copy link

baiyfcu commented Jul 30, 2018

else { lenByte |= 127; frame.putU8(lenByte); frame.putU64(static_cast<uint16_t>(len)); }

frame.putU64(static_cast<uint16_t>(len)); ==> frame.putU64(static_cast<uint64_t>(len));
that's all.

@traw
Copy link

traw commented Aug 9, 2018

If you be more specific, by mentioning exact file and line number, then it might be helpful for others.
Best way would be to attach git patch in issue.

@baiyfcu
Copy link
Author

baiyfcu commented Aug 17, 2018

@traw websocket.cpp line 475

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

No branches or pull requests

2 participants