Re: handling SSL_ERROR_ZERO_RETURN from SSL_read

2010-07-14 Thread Darryl Miles
Amit Ben Shahar wrote: The documentation specifies that SSL_ERROR_ZERO_RETURN is returned if the transport layer is closed normally. My question is, how should i handle this return code? specifically should i call SSL_free normally to free resources, or are resources already freed? Yes you

Re: handling SSL_ERROR_ZERO_RETURN from SSL_read

2010-07-14 Thread Amit Ben Shahar
Assuming i'm only using SSL_set_bio to assign a BIO to the SSL object (all other calls are read/write), will the SSL_free suffice? Amit On Wed, Jul 14, 2010 at 16:08, Darryl Miles darryl-mailingli...@netbauds.net wrote: Amit Ben Shahar wrote: The documentation specifies that

RE: handling SSL_ERROR_ZERO_RETURN from SSL_read

2010-07-13 Thread David Schwartz
Amit Ben Shahar wrote: Hi, The documentation specifies that SSL_ERROR_ZERO_RETURN is returned if the transport layer is closed normally. My question is, how should i handle this return code? specifically should i call SSL_free normally to free resources, or are resources already freed?