httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: Tear down of module on server stop
Date Fri, 07 Jun 2013 14:53:13 GMT
>  * Run the post_config function for each module
>  * @param pconf The config pool
>  * @param plog The logging streams pool
>  * @param ptemp The temporary pool
>  * @param s The list of server_recs
>  * @return OK or DECLINED on success anything else is a error
>  */
> AP_DECLARE_HOOK(int,post_config,(apr_pool_t *pconf,apr_pool_t *plog,
>                                  apr_pool_t *ptemp,server_rec *s))
>
>
> The post_config hook should happen when the child loads, and won't be
> associated with a specific request.

There is a child_init that gets passed what is called "pchild".
post_config on unix only runs in the parent, IIUC.

Mime
View raw message