On 3/20/09, Daniel Stenberg <[email protected]> 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? > > So the issue is why you receive SIGPIPE while calling NSSSSL_VersionCheck >> (). This implies that NSPR hasn't been initialized at that point. >> > > John D, what is calling NSSSSL_VersionCheck() before th PR_Init() call? > libcurl does nothing SSL at all before calling PR_Init() as far as I can > see!? > > -- > > / daniel.haxx.se > -- > dev-tech-crypto mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-tech-crypto >
Nothing is calling it to my knowledge at all. The sequential flow of ssl calls are only too basic here. Each thread created, will call a function that runs a curl easy setopt operation. During the these curl calls at one stage it must redirect to an https page. At this point the segfault or sigpipe rather is always occuring presumably caused by a broken or flawed connection and a total lack of solution being presented by the lib in question nss. I am not specifically doing anything myself with SSL or NSS is, libcurl is by way of a redirection and inherent library support. John
-- dev-tech-crypto mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-crypto

