Custom modules : what's the behavior of mod_deflate ?

2014-06-30 Thread Pierre Lindenbaum
(cross-posted on SO: http://stackoverflow.com/questions/24486594 ) I wrote a custom module for as described in: http://httpd.apache.org/docs/2.4/developer/modguide.html ap_rprintf(r, Hello, world!); I've been asked about the behavior of mod_deflate

Re: Custom modules : what's the behavior of mod_deflate ?

2014-06-30 Thread Eric Covener
By default, it would be compressed if it met the normal conditions. You can opt out a few ways (below in rough order of intrusiveness): set the no-gzip per-request environment variable (r-subprocess_env) remove the mod_deflate output filter (mod_proxy_wstunnel.c has an example of moving a filter)

Re: Custom modules : what's the behavior of mod_deflate ?

2014-06-30 Thread Pierre Lindenbaum
On 06/30/2014 12:18 PM, Eric Covener wrote: By default, it would be compressed if it met the normal conditions. You can opt out a few ways (below in rough order of intrusiveness): thank you Eric.