httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: LoadModule questions on WIN32
Date Mon, 05 Sep 2005 17:08:12 GMT
Paul Querna wrote:
>>
>>proxy_module --> [P]
>>proxy_balancer_module --> [B]
>>
>>
>>1. [P] register_hooks
>>2. [P] create_server_config
>>3. [P] create_dir_config
>>4. [B] register_hooks
>>5. [P] pre_config
>>6. [B] pre_config
>>
> 
> [..snip..]
> 
> IMO, this sure sounds like a bug in the way the WINNT MPM operates. I
> believe it should be changed to match the same pattern as all the other
> MPMs.
>

Huh,
looking at the code, seems that there is something really weired :)

In any case, on all platforms the 'ap_single_module_configure' function
called from mod_so/load_module will call the module's
(*m->create_server_config)(p, s)
and...
(*m->create_dir_config)(p, NULL)

This means that both create_server_config and create_dir_config
function *are always* called on LoadModule, before module's
pre_config hook is called.

Is this a correct behavior?

Regards,
Mladen.

Mime
View raw message