Hi Nick, To test it futher I gzipped a local file and posted it apache using 'ab' (I had set the content-encoding header as well') Even then I see the same result. It logging the same error about magic bytes not matching. Any pointers to mistakes that I am making? Thanks, ~Abhi ----- Original Message ----- From: Abhi Auradkar <aurabhi@xxxxxxxxx> To: "users@xxxxxxxxxxxxxxxx" <users@xxxxxxxxxxxxxxxx> Cc: Sent: Thursday, June 7, 2012 2:13 PM Subject: Re: Uncompressing incoming requests Hi Nick, I added some debug statements and error statements to mod_deflate code and built the module. The error is coming from the following /* We didn't get the magic bytes. */ if (len != 10 || deflate_hdr[0] != deflate_magic[0] || deflate_hdr[1] != deflate_magic[1]) { ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, "magic bytes don't match"); // ---> I Added this error message return APR_EGENERAL; } The client is using java.util's gzip to send a compressed message. Does that mean that the gzip created from java.util library is not compatible with the one that mod_deflate is using?? Thanks, ~Abhi ----- Original Message ----- From: Nick Kew <nick@xxxxxxxxxxxx> To: users@xxxxxxxxxxxxxxxx Cc: Sent: Tuesday, June 5, 2012 8:06 PM Subject: Re: Uncompressing incoming requests On Tue, 5 Jun 2012 05:10:10 -0700 (PDT) Abhi Auradkar <aurabhi@xxxxxxxxx> wrote: > I added "LogLevel debug" to the httpd.conf file I do not see any extra logs in the error_log file. > Should I do something further here to get detailed debug logs from mod_deflate? You should see quite a lot from mod_deflate if it's compressing the output! I can't say off the top of my head how much you'd see from it doing nothing (as on your input), but at debug level I'd expect it to tell you if it tries and fails to decompress something, as opposed to (say) seeing content that's not labelled as compressed and just getting out of the way. -- Nick Kew --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx