couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Candler <B.Cand...@pobox.com>
Subject Re: [jira] Commented: (COUCHDB-504) HTTP/1.1 keep alive fails with AB
Date Wed, 16 Sep 2009 08:16:32 GMT
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

Regards,

Brian.

Mime
View raw message