8409 Want MSG_NOSIGNAL to prevent SIGPIPE
Review Request #590 — Created June 18, 2017 and submitted — Latest diff uploaded
Information | |
---|---|
wiedi | |
illumos-gate | |
Reviewers | |
general | |
The MSG_NOSIGNAL flag prevents SIGPIPE being generated when an attempt
to send on a stream-oriented socket is made that is no longer connected.
It is part of POSIX.1-2008:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/send.html
This change includes a test-case. I booted a system with this patch and executed the os-test suite.