Skip to content

Conversation

@blood-worm
Copy link

This fixes the websocket close code validation to be less strict. Closes #672.

@p0ut
Copy link

p0ut commented Dec 5, 2025

No, this does not fix it.

Ended with:

Failed to WS_SEND, curl: (100) Recv failure: Connection reset by peer. See https://curl.se/libcurl/c/libcurl-errors.html first for more details.

@blood-worm
Copy link
Author

No, this does not fix it.

Ended with:

Failed to WS_SEND, curl: (100) Recv failure: Connection reset by peer. See https://curl.se/libcurl/c/libcurl-errors.html first for more details.

This is not meant to fix exceptions related to network errors, it is meant to fix an exception raised in a completely valid websocket state where the websocket is closed with a custom close code.

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.

Websocket close code validation is too strict

2 participants