> Hello!
>
> 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?


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.

DS


__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majordomo@openssl.org