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

WebSocketFrame text encoding is broken #12

Open
stefan-reich opened this issue Aug 16, 2020 · 0 comments
Open

WebSocketFrame text encoding is broken #12

stefan-reich opened this issue Aug 16, 2020 · 0 comments

Comments

@stefan-reich
Copy link

stefan-reich commented Aug 16, 2020

The way text payloads are encoded is buggy in multiple ways. It uses a singleton CharsetEncoder without respect to multiple threads; and it calculates the output length wrongly. I'm fixing this, respond here if you have the same issue.

Decoding has similar problems.

@stefan-reich stefan-reich changed the title WebsocketFrame text encoding is broken WebSocketFrame text encoding is broken Aug 16, 2020
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

1 participant