Skip to content

fix(node): websocket under node doesn't emit close+error (only error) so redials didn't happen #219

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

Merged
merged 1 commit into from
Mar 13, 2025

Conversation

aricart
Copy link
Member

@aricart aricart commented Mar 13, 2025

Introduce a cleanup method for socket event handling, ensuring consistent resource cleanup across close/error scenarios. Additionally, implement a test case to verify websocket reconnect functionality after disconnection.

fixes #210

… so redials didn't happen

Introduce a `cleanup` method for socket event handling, ensuring consistent resource cleanup across close/error scenarios. Additionally, implement a test case to verify websocket reconnect functionality after disconnection.

Signed-off-by: Alberto Ricart <[email protected]>
@aricart aricart requested a review from caspervonb March 13, 2025 00:21
Copy link
Collaborator

@caspervonb caspervonb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@aricart aricart merged commit b429db1 into main Mar 13, 2025
44 checks passed
@aricart aricart deleted the fix-210 branch March 13, 2025 22:08
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 connection does not reconnect
2 participants