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

Reply via email to