Hi
Thanks for reply.

In fact, I'm not sure why apache closes connection even if I set KeepAlive
to On in httpd.conf.

If I send "HTTP/1.1" request
will it also close the socket after reply?

-Dima


David Schwartz wrote:
>
>
>> 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
>
>


--
View this message in context: http://www.nabble.com/SSL_read-reads...p14801898.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majordomo@openssl.org