couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <bchesn...@gmail.com>
Subject Re: [jira] Commented: (COUCHDB-504) HTTP/1.1 keep alive fails with AB
Date Wed, 16 Sep 2009 10:12:30 GMT
On Wed, Sep 16, 2009 at 11:58 AM, Robert Newson <robert.newson@gmail.com> wrote:
> Since HTTP 1.0 has no Connection header at all, the proposal "breaks"
> http 1.0 either way, whether we choose "Keep-Alive" or "close". Given
> that, "Keep-Alive" seems the better choice. The defined behavior for
> http 1.0 is that the connection is closed after every request, so we
> either stick with that or we don't.
>
> B.
>

The patch I proposed should work with http 1.0 too since it use
mochiweb mochiweb_request:should_close() which return true if header
is present and conection is set to close or if header is undefined.

https://issues.apache.org/jira/secure/attachment/12419727/couchdb_httpd_504.patch

- benoit

Mime
View raw message