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

fix: properly reject when socket ends during connection #122

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KristjanTammekivi
Copy link
Contributor

Solves #121

Might not be the prettiest solution, feel free to edit my fork if you feel the need to.

@KristjanTammekivi
Copy link
Contributor Author

I looked at the websocket tests to see what's wrong there, as far as I can tell for some reason socket error event is not emitted for websocket client. But since #123 has the same issue and I didn't really touch anything that would break the test I don't think this should be a blocker.

@carlhoerberg can you have a look at this PR, I've been hunting for this bug on and off for almost a year and would love to get it merged.

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.

1 participant