-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't cancel context on SIGPIPE in "zed serve" (#4587)
On Linux (but not macOS), "zed serve" exits if it writes to a closed socket (i.e., a broken network connection) because that raises SIGPIPE, canceling the context created by cmd/zed/serve.Command.Init due to the change in #4180. Fix this by removing SIGPIPE from the list of signal.NotifyContext signals for "zed serve". Closes #4498.
- Loading branch information
Showing
3 changed files
with
16 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters