httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien Billon" <julien.bil...@gmail.com>
Subject child process exit
Date Fri, 04 Apr 2008 12:06:19 GMT
Hello,

I'm new to module development and I have a question about resources
management: I'm using the worker mpm and my module manages, for each
child process, a single connection with a back end server. This
connection is shared between the threads of a process. I'd like to
explicitly close the connection when a child process shuts down, how
can I do this? I think there's something with the
apr_pool_cleanup_register() in the child_init() hook but I don't know
which pool I have to use.

Thank you,

Julien

Mime
View raw message