Re: Process lifetime and hooks to use

2010-04-17 Thread Some Guy
Thank you for your pointers. The monitor hook seems pretty useful and exactly what I want. From this example http://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/examples/mod_example_hooks.c it seems the hook is passed a server_rec - is this the main server? If I have to for some reason por

Re: Process lifetime and hooks to use

2010-04-17 Thread Nick Kew
On 17 Apr 2010, at 11:33, alin vasile wrote: > I discovered that it is :) > > Any idea how would I retrieve in this hook the module config structure? It > seems it is not possible, as the only argument in the handler is a apr_pool_t > structure. It's in the parent process, which is single-thr

Re: Fwd: Process lifetime and hooks to use

2010-04-17 Thread alin vasile
I discovered that it is :) Any idea how would I retrieve in this hook the module config structure? It seems it is not possible, as the only argument in the handler is a apr_pool_t structure. From: alin vasile To: modules-dev@httpd.apache.org Sent: Sat, April

Re: Fwd: Process lifetime and hooks to use

2010-04-17 Thread alin vasile
Hi Nick, Is ap_hook_monitor available in httpd 2.2.15? Thanks, Alin From: Nick Kew To: modules-dev@httpd.apache.org Sent: Sat, April 17, 2010 12:10:46 PM Subject: Fwd: Process lifetime and hooks to use My reply seems to be lost in the ether ... try agai

Fwd: Process lifetime and hooks to use

2010-04-17 Thread Nick Kew
My reply seems to be lost in the ether ... try again. Begin forwarded message: > On 16 Apr 2010, at 20:51, Some Guy wrote: > >> Hi all, >> >> I would like to develop a module that periodically needs to fetch a file >> from a remote site and update some data used by the child processes. Is it >