-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly declare BSD's MSG_NOSIGNAL to suppress SIGPIPE
Tested on MacOS High Sierra. Recent BSD manpages for send(2) define MSG_NOSIGNAL to be 0x20000. The MacOS BSD variant doesn't declare MSG_NOSIGNAL, but does honor the value. So, we backport it. See https://www.freebsd.org/cgi/man.cgi?query=send&sektion=2&manpath=FreeBSD+12.1-stable Thanks deepfryed/beanstalk-client#32 (comment) for the hint
- Loading branch information
Showing
2 changed files
with
3 additions
and
7 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