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: wake up readers after setting the state to RecvClosed #190

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

kkovaacs
Copy link
Contributor

Readers should be woken up after setting the state to RecvClosed otherwise they potentially miss reading the EOF entirely.

Closes #189

Readers should be woken up after setting the state to RecvClosed otherwise
they potentially miss reading the EOF entirely.
Copy link
Member

@mxinden mxinden left a comment

Choose a reason for hiding this comment

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

Thanks for debugging! This looks good to me.

@thomaseizinger any objections?

@jxs jxs merged commit 4e80263 into libp2p:master Jun 7, 2024
1 check passed
@kkovaacs kkovaacs deleted the window-update-fin-wake-up-readers branch June 13, 2024 09:43
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.

Missed EOF when reading from a stream and the FIN flag is received in a WindowUpdate frame
4 participants