httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <>
Subject Re: Call sequence of *_init hooks?
Date Fri, 28 Aug 1998 20:51:18 GMT
It's always been this way, and changing it would break various things.

If you look at my process model doc I talk a bit about it... I describe
the ordering as:

read config
main process init (i.e. init())
sub process init (i.e. child_init())
thread init (doesn't exist yet)
fiber init (dumb, ignore, we've dropped fibers and I haven't updated the

It's absolutely necessary that we have a phase after the config reading. 
It would be nice to have one before config reading... rasmus works around
it by testing a global in all his config routines. 

BTW, don't assume that server_create happens before directory_create


On Fri, 28 Aug 1998, Rodent of Unusual Size wrote:

> I was *sure* that the *_init() module hooks were invoked
> before any others, ever.  And yet testing (with a 3-week
> old CVS checkout) shows the server_create and directory_create
> hooks getting invoked first, and then init() followed by
> child_init().  This is confirmed by a more recent checkout
> on Win32.
> Am I going completely insane, or has something changed here?
> This looks severely broken.. the init hooks are there to
> set things up before any other hooks get invoked.
> #ken    P-)}
> Ken Coar                    <http://Web.Golux.Com/coar/>
> Apache Group member         <>
> "Apache Server for Dummies" <http://Web.Golux.Com/coar/ASFD/>

View raw message