On Sep 16, 2009, at 4:16 AM, Brian Candler wrote:
On Tue, Sep 15, 2009 at 09:22:41PM -0400, Adam Kocoloski wrote:
Heh, I stand corrected. +1 on the path forward. I guess its just a
matter of adding Connection: Keep-Alive to the response headers.
You're quite right that HTTP/1.0 (RFC 1945) doesn't support persistent
connections, and doesn't define a Connection: header.
I believe the server is supposed to drop the TCP connection at the
end of
the body for HTTP < 1.1.
Perhaps the safest thing is to add a "Connection: close" header,
*and* drop
the TCP connection, if the client requests HTTP < 1.1
Not sure I follow, if we did this the "CURL ... -k ..." test case
would fail, non?
Regards,
Brian.