Re: how to do something in a mod when apache is shutting down?
On 5 Feb 2013, at 02:29, chary wrote: I'm writing a mod for apache, and I need some help. how to do something in a mod when apache is shutting down? What kind of hooks could be used? Register your function as a cleanup on the process pool. -- Nick Kew
re: how to do something in a mod when apache is shutting down?
Thanks for your help ,Nick. Do you mean this function ? void apr_pool_cleanup_register ( apr_pool_t *p, const void *data, apr_status_t(*)(void *) plain_cleanup, apr_status_t(*)(void *) child_cleanup ) Chary On 5 Feb 2013, at 02:29, chary wrote: I'm writing a mod for apache, and I need some help. how to do something in a mod when apache is shutting down? What kind of hooks could be used? Register your function as a cleanup on the process pool. -- Nick Kew