I will do this probably on apr_hook_pre_connection.
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<n...@apache.org>
To: modules-dev@httpd.apache.org
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<peterjanov...@yahoo.com> 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.