[zeromq-dev] [patch] handle SIGPIPE
Martin Lucina
mato at kotelna.sk
Tue Jul 6 18:42:21 CEST 2010
dhammika at gmail.com said:
> 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.
Why would we need to deal with this at all? 0MQ I/O threads already ignore
all signals which includes SIGPIPE. Or is there some case you're hitting
that's not being handled correctly?
-mato
More information about the zeromq-dev
mailing list