httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Janovsky <>
Subject Re: module configuration kill
Date Wed, 12 Jan 2011 21:56:36 GMT
that is definitely of use.  thank you.  where would i call 
apr_pool_register_cleanup?  originally i thought it would be in register_hooks 
or the server_configuration_callback but i've noticed these are called on start 
and stop of the Apache workers.  thus calling the function in there would cause 
multiple callbacks to hold references to the workers.  do i need an internal 
state variable which determines if this is the first time the 
server_configuration_callback was called?

From: Nick Kew <>
Sent: Wed, January 12, 2011 3:15:07 PM
Subject: Re: module configuration kill

On Wed, 12 Jan 2011 11:24:36 -0800 (PST)
Peter Janovsky <> wrote:

> is it possible to hook into an event fired when the workers are shutdown,

Any cleanup registered on the child pool will run when the child quits,
if that's any use to you.

Nick Kew

Available for work, contract or permanent.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message