httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Akins <brian.ak...@turner.com>
Subject Re: 2.2 mod_http_proxy and "partial" pages
Date Tue, 06 Dec 2005 17:41:00 GMT
Justin Erenkrantz wrote:
> On Tue, Dec 06, 2005 at 12:22:18PM -0500, Brian Akins wrote:
> 
>>>There *might* be a breakage if the server aborted it's half of the
>>>connection partway through the response.  I don't have the time to fully
>>>look at the code, but there might be a code path that does so.  -- justin
>>
>>>From what I can tell, stock proxy and cache is vulnerable to that.
> 
> 
> After a bit more of thinking, the right thing to do would be to have
> mod_proxy force a dropped connection to the client.  Since the backend
> bailed on us, there's no way for us to finish the response - we've likely
> already guaranteed the headers, but have no way to keep the connection
> 'correct' with respect to the metadata we've already sent.  We must bail.
> 
> If mod_proxy forces the dropped connection, this should, in turn, cause
> mod_cache to not be able to 'finish' the response.  Therefore, there should
> be no cachable partial response to serve.  -- justin

+1

The client is already screwed in this case anyway...

-- 
Brian Akins
Lead Systems Engineer
CNN Internet Technologies

Mime
View raw message