On Fri, Mar 20, 2009 at 3:42 PM, Daniel Stenberg <dan...@haxx.se> wrote:
> On Fri, 20 Mar 2009, Wan-Teh Chang wrote:
>
>> But I agree that SIGPIPE is an exception.  This is why NSPR (a depenency
>> of NSS) calls sigaction() to ignore SIGPIPE during initialization.  Note
>> that this is done for self protection, rather than as a documented service
>> to the NSPR client.
>
> But doesn't this then contradict what was just said? But why only during
> initilization? If it's fine to survive a dead peer during init and not
> signal anything, why isn't it later?

This is a problem of my English communication.  Let me try again.

I didn't mean that SIGPIPE is ignored only during NSPR initialization.
I meant that NSPR's initialization function calls sigaction to ignore
SIGPIPE.

Wan-Teh
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to