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(router): gracefully handle client crashes #1710

Merged
merged 2 commits into from
Sep 2, 2022

Conversation

imsnif
Copy link
Member

@imsnif imsnif commented Sep 2, 2022

Fixes #1684

With this PR, whenever the server is unable to send messages to the client - instead of crashing - it either marks the client as disconnected (removes it from its state) or does nothing (if for example it's already shutting down or the client is in the process of disconnecting already).

@imsnif imsnif temporarily deployed to cachix September 2, 2022 12:55 Inactive
@imsnif imsnif temporarily deployed to cachix September 2, 2022 13:02 Inactive
@imsnif imsnif merged commit d68d407 into main Sep 2, 2022
@har7an har7an deleted the graceful-client-error-handling branch October 23, 2022 15:09
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.

Zellij crashed with Broken Pipe
1 participant