[zeromq-dev] [patch] handle SIGPIPE

Pieter Hintjens ph at imatix.com
Tue Jul 6 10:48:27 CEST 2010


Dhammika,

Thanks for the patch. We'll apply it asap. Please confirm you submit it
under MIT license... thanks.

-Pieter

Sent from my Android mobile phone.

On Jul 6, 2010 8:01 AM, "Dhammika Pathirana" <dhammika at gmail.com> wrote:

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.

_______________________________________________
zeromq-dev mailing list
zeromq-dev at lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100706/c4b2b5ae/attachment.htm>


More information about the zeromq-dev mailing list