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   [|]   [EMAIL PROTECTED]   [|]   http://www.jaguNET.com/
                     "Sith happens"  -  Yoda

Reply via email to