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

[Bugfix] Fixes an issue where tilenol attempts to write to a disconnected client #57

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

jerluc
Copy link
Member

@jerluc jerluc commented Apr 1, 2024

Before handling an error, we first check to see if the error that occurred was a broken pipe (syscall.EPIPE). If so, we just exit the function as we can't write an error response back to the client if the transport is severed.

@jerluc jerluc merged commit d1c7cf6 into main Apr 1, 2024
2 checks passed
@jerluc jerluc deleted the broken-pipe branch April 1, 2024 19:59
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.

1 participant