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

0.30 rust backend SIGPIPE signal when client disconnects #457

Closed
i509VCB opened this issue Mar 6, 2022 · 1 comment · Fixed by #479
Closed

0.30 rust backend SIGPIPE signal when client disconnects #457

i509VCB opened this issue Mar 6, 2022 · 1 comment · Fixed by #479

Comments

@i509VCB
Copy link
Member

i509VCB commented Mar 6, 2022

At the moment when a client disconnects, the rust backend emits a SIGPIPE signal.

This has no observable effect outside of the debugger since it appears Rust masks sigpipe signals and program execution continues.

There is no way to avoid this at the moment since ClientData::disconnected is called after this signal.

@i509VCB
Copy link
Member Author

i509VCB commented Mar 6, 2022

I guess we need to wait on a nix pull request for the fix: nix-rust/nix#1670

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 a pull request may close this issue.

1 participant