httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: cvs commit: apache-2.0/mpm/src/main http_config.c http_main.c
Date Mon, 12 Jul 1999 18:55:05 GMT


On Mon, 12 Jul 1999, Ben Laurie wrote:

> Dean Gaudet wrote:
> > 
> > On Sun, 11 Jul 1999, Ben Laurie wrote:
> > 
> > > Well, if I'm going to preserve the original behaviour as much as I can,
> > > yes. The reason being that hooks are defined early on, but I need
> > > -DSHOW_HOOKS before they are, but there's also a pre-command-line hook
> > > that has to come _after_ hooks have been hooked (obviously).
> > 
> > Maybe the pre_command_line hook shouldn't be there.  I forget exactly why
> > I wanted it, I think in many ways what I wanted was a hook to initialize
> > modules just after they first load... in case they have any memory that
> > needs initializing.
> 
> You use it in prefork.c (I think) ... if that's all it's for, you could
> do it in register_hooks?

Yeah, it just calls INIT_SIGLIST().  Totally -- if register_hooks is
guaranteed to be called just once for each module as its loaded, before
anything else in the module is called, then that's just about exactly what
I was thinking of for pre_command_line.  So just do a name change :) 

Dean


Mime
View raw message