Hi,

Can anyone clarify the semantics of how to handle
these errors?  Sometimes they seem to mean retry the
read/write, sometimes EOF, sometimes an error
indicating time to shutdown.  I've seen errno values
come back of EAGAIN, ECONNRESET, and EPIPE, as well as
EAGAIN.  I keep adding more special cases to my code
to handle the possible combinations but new ones keep
coming up.  For example, what does it mean to get
SSL_ERROR_SSL with errno of 0 ?  Is this the same as
shutdown, or retry?

I've looked at s_client and s_server and they seem to
generally handle these as a shutdown indication
(except when requesting a read of 0 bytes, in which
case it's retry).  Is there some standard way to
handle these errors?  Is there perhaps something bad
I'm doing that keeps causing me to get them?

Thanks very much,

-- J



__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to