httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: Apache 2.0 command table
Date Sat, 19 Jun 1999 09:09:26 GMT
Yup, use a child_init_hook and ap_register_cleanup(pconf, foo) and you'll
get picked up at child exit time. 

Dean

On 18 Jun 1999 tvaughan@aventail.com wrote:

> I think the preferred method is to use ap_register_cleanup.
> 
> -Tom
> 
> "Michael H. Voase" <mvoase@midcoast.com.au> writes:
> 
> > Gday ,
> > 
> > 	First up , Deans new MPM fork is brilliant . 
> > I have been looking through http_main in pthreads and
> > had basically came to the same conclusion ( ie http_main
> > should be a module ).   
> > 
> > 	Now on the nuts and bolts , I have started porting
> > the modules across from 1.3.x command table format to 2.0
> > format and I notice that the child_exit hook is missing .
> > The reason I ask is that mod_log_config uses this hook
> > to flush the logs at child exit iff BUFFERED_LOGS is
> > defined ... is there going to be a child_exit hook for
> > modules in 2.0 ?
> > 
> > Cheers Mik Voase.
> > 
> > 
> > -- 
> > ----------------------------------------------------------------------------
> >  /~\     /~\            CASTLE INDUSTRIES PTY. LTD.
> >  | |_____| |            Incorporated 1969. in N.S.W., Australia
> >  |         |            Phone +612 6567 1227 Fax +612 6567 1449
> >  |   /~\   |            Web http://www.midcoast.com.au/~mvoase
> >  |   [ ]   |            Michael H. Voase.  Director.
> > ~~~~~~~~~~~~~~          Castle Industries - Industrial Strength
> > Solutions.
> > ----------------------------------------------------------------------------
> > 
> 
> -- 
> Tom Vaughan <tvaughan at aventail dot com>
> 


Mime
View raw message