Check this out http://www.openssl.org/docs/crypto/ERR_error_string.html
HTH ~ Urjit ----- Original Message ----- From: "Carlo Agopian" <[EMAIL PROTECTED]> To: <[email protected]> Cc: "Carlo Agopian" <[EMAIL PROTECTED]> Sent: Tuesday, October 24, 2006 9:58 PM Subject: RE: SSL_read() Hi Mark, SSL_get_error() returned 0 Carlo -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Sent: Thursday, October 19, 2006 8:09 AM To: [email protected] Subject: RE: SSL_read() Hi Carlo, > I have a single threaded application where a SSL_read() is returning a > return code of 0. The openSSL doc suggests that this is due to a > socket shutdown by the peer. Upon this error, is there anything that > I can do to recover the connection and/or data or do I just need to > start over? Thank you. Call SSL_get_error() to find out the reason. Regards, Mark ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [EMAIL PROTECTED] DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
