Re: using mod_deflate inside a module

2007-07-04 Thread Nick Kew
On Wed, 04 Jul 2007 17:38:20 +0200 Marco Spinetti <[EMAIL PROTECTED]> wrote: > Nick, could you advice me with a solution See the first sentence of the second paragraph of what I posted: > > If you want a functional API for (de)compression, then nothing in > > apache is relevant to you, except i

Restart Apache from inside a module

2007-07-04 Thread César Leonardo Blum Silveira
Is there any function in the Apache API which allows the module to issue a restart on the server? Thanks, -- César L. B. Silveira http://cesarbs.wordpress.com/

Re: using mod_deflate inside a module

2007-07-04 Thread Marco Spinetti
Well my architecture now is a module which gets the contents from different sources, elaborate them building a final xml and then it registers an output filter which reply to the user. So I'm already using an output filter. But if only a source of mine reply with gzip content, I don't see how to

Re: using mod_deflate inside a module

2007-07-04 Thread Nick Kew
On Wed, 04 Jul 2007 17:08:56 +0200 Marco Spinetti <[EMAIL PROTECTED]> wrote: > There is something I can't understand. > If you declare > > ap_add_output_filter("INFLATE", ctx, req, conn); > > how can I call the function to decompress a content and the get the > control again? > I knew that ap_

Re: using mod_deflate inside a module

2007-07-04 Thread Marco Spinetti
There is something I can't understand. If you declare ap_add_output_filter("INFLATE", ctx, req, conn); how can I call the function to decompress a content and the get the control again? I knew that ap_add_output_filter declares an outut filter which is called after your module. Am I missing

Apache2.2 replacement for ap_srm_command_loop?

2007-07-04 Thread Turbo Fredriksson
I've figured out that i should use ap_build_config(), but I'm unsure of any more changes I have to do... I'm porting a module written for Apache 1.3 and this API function is the only one left it seems...

Re: using mod_deflate inside a module

2007-07-04 Thread Mike
On 7/4/07, Marco Spinetti <[EMAIL PROTECTED]> wrote: So are you telling me that I should call deflate_in_filter (which is defined inside mod_defalte) inside my module and then go on with the uncompressed result? Could you give me some suggestion about how to do it? you need to include mod_deflat