httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Akins <>
Subject Re: 2.2 mod_http_proxy and "partial" pages
Date Tue, 06 Dec 2005 16:53:41 GMT
Paul Querna wrote:

> Related issue:
> I don't think its breaking the RFC to not-cache partial pages.

Yep. That's my issue:

This one doesn't have an easy solution.  The problem is that mod_proxy 
has no way to tell mod_cache if a response terminated abnormally.  We 
could add
some code in mod_cache, to make sure Content-Length matches that actual 
and invalidate the cache at that point.

I would really like to use the "stock" 2.2 proxy modules, but I cannot 
with this "bug."

As a quick fix, could we not have proxy set r->status = HTTP_BAD_GATEWAY 
or something and re-check in the cache before finalizing the store?

Brian Akins
Lead Systems Engineer
CNN Internet Technologies

View raw message