httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Akins <bak...@web.turner.com>
Subject Re: 2.2 mod_http_proxy and "partial" pages
Date Tue, 06 Dec 2005 17:07:32 GMT
Brian Akins wrote:

> 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?

pseudo code:

in proxy_http

if(some proxy error) {
	error_log("error during transit. forcing status change");
	r->status = HTTP_GATEWAY_TIME_OUT;  /*(or something not cahceable)*/
}


in mod_cache in store_body check r->status on every bucket?  This may 
need to be in providers for now???





-- 
Brian Akins
Lead Systems Engineer
CNN Internet Technologies

Mime
View raw message