> jean-frederic clere <[EMAIL PROTECTED]> writes:
> 
> > Hi,
> > 
> > I have detected that the variable log_hash of mod_log_config is not initialized
> > correctly. It causes a core on Solaris...
> 
> just curious, plz verify...
> 
> I guess http_pre_config() is calling ap_register_log_handler() before
> log_pre_config() is called, 

Is this the right thing to be doing?

> thus the core dump because
> ap_register_log_handler() references the hash allocated by
> log_pre_config()? 
> 
> Could we instead create the hash in register_hooks() (just before we
> register the optional function) and dispense with the multiple places
> where the hash could be created?

I like this suggestion. Makes sense to me.

Bill


Reply via email to