Skip to content

fix: properly reject when socket ends during connection#122

Merged
carlhoerberg merged 2 commits intocloudamqp:mainfrom
KristjanTammekivi:fix-connect-hang
Mar 7, 2025
Merged

fix: properly reject when socket ends during connection#122
carlhoerberg merged 2 commits intocloudamqp:mainfrom
KristjanTammekivi:fix-connect-hang

Conversation

@KristjanTammekivi
Copy link
Copy Markdown
Contributor

Solves #121

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

@KristjanTammekivi
Copy link
Copy Markdown
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.

@KristjanTammekivi
Copy link
Copy Markdown
Contributor Author

@baelter Sorry to tag directly but I see you've committed to this repository in the past month. Can You please have a look at this PR, it's a serious issue.

@carlhoerberg carlhoerberg merged commit 3562c38 into cloudamqp:main Mar 7, 2025
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.

2 participants