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

Filter out the same socket-closing errors on flush as on write #192

Merged
merged 1 commit into from Jan 4, 2021

Conversation

inrustwetrust
Copy link

@inrustwetrust inrustwetrust commented Jan 4, 2021

Before this change, if a broken-pipe or similar error happened in the
call to flush() instead of raw_print(), it would not be suppressed
but instead surfaced to the caller.

Before this change, if a broken-pipe or similar error happened in the
call to `flush()` instead of `raw_print()`, it would not be suppressed
but instead surfaced to the caller.
rawler
rawler approved these changes Jan 4, 2021
@rawler rawler merged commit ffbde0d into tiny-http:master Jan 4, 2021
1 check passed
@inrustwetrust inrustwetrust deleted the flush-errors branch Jan 4, 2021
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