[zeromq-dev] [patch] handle SIGPIPE

Dhammika Pathirana dhammika at gmail.com
Tue Jul 6 08:01:29 CEST 2010


Patch to handle SIGPIPE in send().
SIGPIPE behavior is not consistent even across *ix platforms. Linux
has MSG_NOSIGNAL and Mac supports SO_NOSIGPIPE. Best option is to set
SIG_IGN, but it's more of an application setting. We should document
this.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_sigpipe.diff
Type: text/x-diff
Size: 2891 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100705/5a3692d2/attachment.diff>


More information about the zeromq-dev mailing list