httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <>
Subject Re: [Patch] Keep Alive not workwing with mod_proxy (PR38602)
Date Mon, 13 Feb 2006 18:40:11 GMT

On Feb 13, 2006, at 1:28 PM, William A. Rowe, Jr. wrote:

> Ruediger Pluem wrote:
>> Currently I work on PR 38602 ( 
>> show_bug.cgi?id=38602).
>> First of all the reporter is correct that we do not sent the
>> Connection: Keep-Alive
>> header on our HTTP/1.1 keep-alive connections to the backend.
>> But this is only the small part of the problem since 8.1.2 of the  
>> RFC says:
>>    "A significant difference between HTTP/1.1 and earlier versions of
>>    HTTP is that persistent connections are the default behavior of  
>> any
>>    HTTP connection. That is, unless otherwise indicated, the client
>>    SHOULD assume that the server will maintain a persistent  
>> connection,"
> The real problem is that we've never paid attention to the backend  
> server.
> If speaking to a backend http/1.0 server, we can try connection:  
> keep-alive
> if the server pays attention to it.  That header is invalid for  
> http/1.1
> backends, and we should choose connection: close where appropriate.
> To a backend http/1.0 server, connection: close is meaningless (and  
> wrong).

Some sort of proxy-connection pool would help here, as
that would be part of the meta-data. I was always wondering
how much of DBD could be re-used for this, but wanted to
wait until DBD was at a stable stage...

View raw message