httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Beck <seanmckayb...@gmail.com>
Subject Re: Tear down of module on server stop
Date Fri, 07 Jun 2013 14:59:05 GMT
You guys are awesome.
So it should only run once then? Also for tear down of the stuff is there a
different hook that I could load?


On Fri, Jun 7, 2013 at 8:53 AM, Eric Covener <covener@gmail.com> wrote:

> >  * 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message