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 hang when get_next_writable_stream() incorrectly returns a stream already closed #203

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

jthomas43
Copy link
Contributor

Fixes stall that occurs when get_next_writable_stream() returns a stream that has data, but is closed or destroyed.

…data that have been closed or destroyed. also updates check_if_streams_have_data to exclude these streams
@mafintosh mafintosh merged commit ed69bc2 into holepunchto:main Sep 12, 2024
3 checks passed
jthomas43 added a commit to jthomas43/libudx that referenced this pull request Sep 13, 2024
… already closed (holepunchto#203)

* fixes stall due to get_next_writable_stream() returning streams with data that have been closed or destroyed. also updates check_if_streams_have_data to exclude these streams

* stricter rules for dead streams, may not send any queued datagram messages
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