Hi all,

I'm trying to use mod_deflate to decompress a compressed request from a
client on my reverse-proxy.

First, I'm confused with the Apache documentation
http://httpd.apache.org/docs/2.2/mod/mod_deflate.html#enable. In fact,
for input decompression, the doc tells to use "SetInputFilter DEFLATE".
Shouldn't it be "SetInputFilter INFLATE"??

Anyway, whatever configuration I choose for my virtual host, it fails
when I post a request with a "Content-Encoding: gzip" header and a gzip
request body:
- if I use "SetInputFilter DEFLATE", the error is "Internal error:
proxy: prefetch request body failed" and my rproxy returns a 400 BAD
REQUEST error
- if I use "SetInputFilter INFLATE", the error is "an unknown filter was
not added: INFLATE" and the target website gets the compressed body

I tried that with Apache 2.2.17 and 2.2.19 with the same result.

Any idea ?

Thanks,

Fabrice GOUIN
-------
Ce message et toutes les pièces jointes sont établis à l'intention exclusive de 
ses destinataires et sont confidentiels. L'intégrité de ce message n'étant pas 
assurée sur Internet, la SNCF ne peut être tenue responsable des altérations 
qui pourraient se produire sur son contenu. Toute publication, utilisation, 
reproduction, ou diffusion, même partielle, non autorisée préalablement par la 
SNCF, est strictement interdite. Si vous n'êtes pas le destinataire de ce 
message, merci d'en avertir immédiatement l'expéditeur et de le détruire.
-------
This message and any attachments are intended solely for the addressees and are 
confidential. SNCF may not be held responsible for their contents whose 
accuracy and completeness cannot be guaranteed over the Internet. Unauthorized 
use, disclosure, distribution, copying, or any part thereof is strictly 
prohibited. If you are not the intended recipient of this message, please 
notify the sender immediately and delete it. 

Reply via email to