httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <>
Subject Re: cvs commit: apache-2.0/mpm/src/main http_config.c http_main.c
Date Mon, 12 Jul 1999 18:40:37 GMT
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?





"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
     - Indira Gandhi

View raw message