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

binding an external C library with I/O methods

2014-06-30 Thread Pierre Lindenbaum
(cross posted on SO: http://stackoverflow.com/questions/24486926) I'd like to use an external library that is able to write files using a custom format. The API for this library looks like: MyFormatPtr format= myformat_openfd(int filedescriptor,const char* mode); MyFormatPtr format=

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.

Re: binding an external C library with I/O methods

2014-06-30 Thread Nick Kew
On Mon, 30 Jun 2014 11:56:50 +0200 Pierre Lindenbaum pierre.lindenb...@univ-nantes.fr wrote: (cross posted on SO: http://stackoverflow.com/questions/24486926) I'd like to use an external library that is able to write files using a custom format. The API for this library looks like: