Skip to content

websocketstream: close readablestream properly #4322

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
Jul 6, 2025

Conversation

KhafraDev
Copy link
Member

ricea/websocketstream-explainer#25

In the test added, reader.closed would hang forever because readablestream.cancel() would always throw due to the stream being locked from the getReader().

@KhafraDev KhafraDev merged commit 33274d0 into nodejs:main Jul 6, 2025
29 checks passed
@KhafraDev KhafraDev deleted the wss-close-readable-properly branch July 7, 2025 17:47
@github-actions github-actions bot mentioned this pull request Jul 18, 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