httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: LoadModule questions on WIN32
Date Tue, 06 Sep 2005 17:42:06 GMT
Mladen Turk wrote:
> 
> Jim Jagielski wrote:
> > I was wondering, if you add:
> > 
> >      static const char *const aszSucc[] = { "mod_proxy.c", NULL};
> > 
> > to ap_proxy_balancer_register_hook(), and then adjust the
> > following line to look like this:
> > 
> >     proxy_hook_load_lbmethods(add_lbmethods, aszSucc, NULL, APR_HOOK_FIRST);
> > 
> > Does it change the behavior you see?
> > 
> 
> Sorry but not.
> Same thing; 'add_lbmethods' is never called because it is called from
> create_server_config that OTOH is called before mod_proxy_balancer is
> loaded by the LoadModule.
> 

Strange... Because c_s_c is actually called *multiple* times during the
actual load and start up, such as ap_read_config(). Note that ap_top_module
is populated.
-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
                     "Sith happens"  -  Yoda

Mime
View raw message