Skip to content

Conversation

@iot49
Copy link

@iot49 iot49 commented Apr 17, 2024

Without the fix, the client submits a header formatted as bytes:

Sec-WebSocket-Key     b'aaaaaaaaaaaaa'

resulting in the server rejecting the connection (I use the python websocket module in the server for checking). This PR decodes the key, and thus correctly formats the header:

Sec-WebSocket-Key     aaaaaaaaaaaaa

@Carglglz
Copy link
Contributor

Carglglz commented Apr 17, 2024

I think this is the same as #846

@iot49
Copy link
Author

iot49 commented Apr 17, 2024 via email

@dpgeorge
Copy link
Member

Thanks for the patch, but I'll close this in favour of #846.

@dpgeorge dpgeorge closed this May 15, 2024
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.

3 participants