RE: SSL_read reads 0 bytes after SSL_write/SSL_read/SSL_write
> I use openssl to work with apache server via https.
> But I see a strange situation when the second and the third calls
> to send()
> in my test-case read 0 bytes from socket.
> Can you provide here any help?[/color]
Why is that surprising? That's exactly what I would expect to happen. When
the connection has been normally closed, SSL_read returns zero. You
specifically asked for HTTP/1.0 behavior, which calls for the connection to
be closed after a reply is completed.
OpenSSL Project [url]http://www.openssl.org[/url]
User Support Mailing List [email]email@example.com[/email]
Automated List Manager [email]firstname.lastname@example.org[/email]