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 poll_flush on closed connection #281

Merged
merged 1 commit into from
May 7, 2023

Conversation

CBenoit
Copy link
Contributor

@CBenoit CBenoit commented May 5, 2023

Flushing when there is nothing to send anymore should succeed.

Relevant code in tungstenite crate code:
https://github.com/snapview/tungstenite-rs/blob/e5efe537b87a6705467043fe44bb220ddf7c1ce8/src/protocol/mod.rs#L390

Flushing when there is nothing to send anymore should succeed.

Relevant code in `tungstenite` crate code:
https://github.com/snapview/tungstenite-rs/blob/e5efe537b87a6705467043fe44bb220ddf7c1ce8/src/protocol/mod.rs#L390
Copy link
Member

@daniel-abramov daniel-abramov left a comment

Choose a reason for hiding this comment

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

Looks sensible, thanks.

@daniel-abramov daniel-abramov merged commit d6f5d45 into snapview:master May 7, 2023
5 checks passed
@CBenoit CBenoit deleted the fix-poll-flush branch May 8, 2023 14:11
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.

None yet

2 participants