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

prefer fail over close the websocket connection in error cases #3651

Merged
merged 3 commits into from
Sep 27, 2024

Conversation

KhafraDev
Copy link
Member

both _fail the websocket connection_ and _close the websocket connection_ do fundamentally the same things, but failing it will emit an error event (for WebSocket) which is a better fit for these cases

@KhafraDev KhafraDev merged commit ae18f0e into nodejs:main Sep 27, 2024
33 checks passed
@KhafraDev KhafraDev deleted the prefer-fail-over-close branch September 27, 2024 23:09
@github-actions github-actions bot mentioned this pull request Dec 3, 2024
This was referenced Dec 16, 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.

2 participants