Hi,

I'm working with an HTTP application, and according to the RFC when sending
the HTTP response it is permissible to signal the end of the response by
closing the socket (rather than using the Content-Length header).

When implementing the HTTP client using SSL, SSL_read will return
SSL_ERROR_ZERO_RETURN. Is it safe to treat this as a non-error.  i.e. there
are no other circumstances in which this return code will signal a true
error?

When implementing the HTTP server using SSL, is it safe to issue an
SSL_shutdown and a socket disconnect while the client is listening?

Thanks,

G.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to