ap_rwrite and timeout

2007-10-15 Thread marc . despland
Hello, I am writing a module for Apache 2.0.59 that works like a proxy to expose a Dime Soap Web service over classical HTTP The problem is when i send the content to the client, if the client closes the connection or pauses the download, i have to wait the timeout to detect the problem

Hook for If-Modified-Since

2007-10-15 Thread Joe Lewis
Hello; Simply, does anyone know of a hook that I can use to intercept requests that come in with an If-Modified-Since? Some background - I have an output filter module that alters the Last-Modified header. This works beautifully except in once specific circumstance - if the document has never fu

[Unload module]

2007-10-15 Thread Marin Cosmin
Hello, I'm working on an Apache module that will log some statistics in a file. My problem is that I have no ideea about what should I do to unload the module. In ap_hook_post_config hook I initialize some structures, use open() for some files ... If I get an error during this phase how can I unl

Re: ap_rwrite and timeout

2007-10-15 Thread ed
On Mon, 15 Oct 2007 10:05:17 +0200 [EMAIL PROTECTED] wrote: > I am writing a module for Apache 2.0.59 that works like a proxy to > expose a Dime Soap Web service over classical HTTP > > The problem is when i send the content to the client, if the client > closes the connection or pauses the d

Re: [Unload module]

2007-10-15 Thread Joe Lewis
Marin Cosmin wrote: > Hello, > > I'm working on an Apache module that will log some statistics in a file. > My problem is that I have no ideea about what should I do to unload the > module. > In ap_hook_post_config hook I initialize some structures, use open() for some > files ... > If I get an e

Re: [Unload module]

2007-10-15 Thread Marin Cosmin
Thank you very much for your promptness. I've tested and segfaults if I unload the module. In order to resolve this problem I use a flag which is true if everything went fine, and false if didn't, but I thought that you can unload the module if something goes wrong. I'm using "post_config" to