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