Matthieu Estrade wrote:

> I found a problem with mod_cache and mod_proxy...
> 
> when cache is storing the data + headers in memory, it doesn't care 
> about Transfert-Encoding...

AFAIK proxy should always dechunck any chunked data it receives before 
passing it up the stack. The caching stuff should never see chunked data.

If cache does, it could be because someone is putting the cache filter 
in the wrong place in the stack, ie before the dechunk filter.

> +    /* Delete Transfer-Encoding if present, coming from reverse proxy */
> +    
> +    if (apr_table_get(r->headers_out,"Transfer-Encoding")){
> +     apr_table_unset(r->headers_out,"Transfer-Encoding");
> +    }
> + 

Just arbly deleting the transfer encoding will definitely not work. You 
need to make sure the content is dechunked as well. Only the dechunk 
filter should remove the transfer encoding header.

Regards,
Graham
-- 
-----------------------------------------
[EMAIL PROTECTED]                "There's a moon
                                        over Bourbon Street
                                                tonight..."

Reply via email to