You are right, it is just a signal I should ignore. Now it works
perfectly. Maybe the fact that the SSL_write might rise a SIGPIPE should be in the documentation, because it happens only in particular situations (2 writes in a row with connection closed remotely), and it might cause occasional crashes of an application, which are harder to solve. Thanks for your help. David Schwartz ha scritto: ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]Program received signal SIGPIPE, Broken pipe.You need to either catch or ignore SIGPIPE.There is also the output of the program. I think the focus should not be on the call the caused the crash, but on the call before, which returned 7 even if the connection was closed.There's nothing unusual about that. DS ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED] |
- possible SSL_write bug Alessandro Pivi - GLOBALcom engineering
- RE: possible SSL_write bug David Schwartz
- Re: possible SSL_write bu... Alessandro Pivi - GLOBALcom engineering
- RE: possible SSL_writ... David Schwartz
- Re: possible SSL_... Alessandro Pivi - GLOBALcom engineering
- RE: possible... David Schwartz
- Re: poss... Alessandro Pivi - GLOBALcom engineering