> > Because that's what HTTP version 1.0 says to do, and you asked
> > for HTTP 1.0
> > behavior. If it didn't, how would the client know when it got the entire
> > request?
> (You mean the entire response, and in particular response body
> aka entity.)
Right.
> Content-length is allowed in 1.0
> From: owner-openssl-users On Behalf Of David Schwartz
> Sent: Monday, 14 January, 2008 16:48
> > In fact, I'm not sure why apache closes connection even if I
> set KeepAlive
> > to On in httpd.conf.
>
> Because that's what HTTP version 1.0 says to do, and you asked
> for HTTP 1.0
> behavior.
> Hi
> Thanks for reply.
>
> In fact, I'm not sure why apache closes connection even if I set KeepAlive
> to On in httpd.conf.
Because that's what HTTP version 1.0 says to do, and you asked for HTTP 1.0
behavior. If it didn't, how would the client know when it got the entire
request?
> If I send
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.
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.
> 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
Hi Marek!
Marek.Marcola wrote:
>
> Hello,
>> I use openssl to work with apache server via https.
>> But I see a strange situation when second and third calls to send() in
> my test-case read
>> 0 bytes from socket.
>> Can you provide here any help?
> You should not use names like "send" in your
Hello,
> I use openssl to work with apache server via https.
> But I see a strange situation when second and third calls to send() in
my test-case read
> 0 bytes from socket.
> Can you provide here any help?
You should not use names like "send" in your program.
send() is already defined system cal