Re: proxy balancer hook (Was: Re: LoadModule questions on WIN32)

2005-09-08 Thread Jim Jagielski
Just a FYI: I'm like *this close* to buttoning up the lbmethod-as-provider changes, and I like it. Stay tuned :) -- === Jim Jagielski [|] [EMAIL PROTECTED] [|] http://www.jaguNET.com/ Sith

Re: proxy balancer hook (Was: Re: LoadModule questions on WIN32)

2005-09-08 Thread Mladen Turk
Jim Jagielski wrote: Just a FYI: I'm like *this close* to buttoning up the lbmethod-as-provider changes, and I like it. Stay tuned :) Great :) Can you provide the example for the custom methods? I mean, there is a API, but how to write a balancer module that will use that new api? A simple

Re: proxy balancer hook (Was: Re: LoadModule questions on WIN32)

2005-09-08 Thread Jim Jagielski
I've gone ahead and changed from the register-lbmethod-as-hook to register-lbmethod-as-provider implementation. This avoids having to store them in the per-server config struct. As mentioned, this required adding a list providers function to providers.c. Full patch is below:

Re: proxy balancer hook (Was: Re: LoadModule questions on WIN32)

2005-09-07 Thread William A. Rowe, Jr.
[EMAIL PROTECTED] wrote: Jim Jagielski wrote: Can anyone else recreate the core dumps that Mladen is seeing with the balancer in 2.1.7-beta? The httpd-test perl framework has a simple test for it. I can confirm Mladens core dumps. I used the latest revision from svn and did the following:

proxy balancer hook (Was: Re: LoadModule questions on WIN32)

2005-09-06 Thread Jim Jagielski
Can anyone else recreate the core dumps that Mladen is seeing with the balancer in 2.1.7-beta? The httpd-test perl framework has a simple test for it. -- === Jim Jagielski [|] [EMAIL PROTECTED] [|]

Re: proxy balancer hook (Was: Re: LoadModule questions on WIN32)

2005-09-06 Thread r . pluem
Jim Jagielski wrote: Can anyone else recreate the core dumps that Mladen is seeing with the balancer in 2.1.7-beta? The httpd-test perl framework has a simple test for it. I can confirm Mladens core dumps. I used the latest revision from svn and did the following: ./configure

Re: proxy balancer hook (Was: Re: LoadModule questions on WIN32)

2005-09-06 Thread Jim Jagielski
Hmmm My tests have all been http: Proxy balancer://foo BalancerMember http://www.google.com:80 loadfactor=1 ProxySet lbmethod=bytraffic /Proxy ProxyPass /bat/ balancer://foo/ Weird... Thanks for the feedback! [EMAIL PROTECTED] wrote: Jim Jagielski wrote: Can anyone else recreate

Re: proxy balancer hook (Was: Re: LoadModule questions on WIN32)

2005-09-06 Thread Jim Jagielski
Hold on a tic... it seems to be related to whether or not it's within a Vhost...

Re: proxy balancer hook (Was: Re: LoadModule questions on WIN32)

2005-09-06 Thread r . pluem
Jim Jagielski wrote: Hold on a tic... it seems to be related to whether or not it's within a Vhost... I can confirm this Jim. Once I use VirtualHost 127.0.0.1:80 Proxy balancer://cluster BalancerMember ajp://localhost:8009 /Proxy ProxyPass /servlet-examples/

Re: proxy balancer hook (Was: Re: LoadModule questions on WIN32)

2005-09-06 Thread r . pluem
[EMAIL PROTECTED] wrote: Jim Jagielski wrote: Hold on a tic... it seems to be related to whether or not it's within a Vhost... I think this is the solution as for each virtual host the create_server_config is run for this virtual host again *after* all modules have been loaded. Thus it

Re: proxy balancer hook (Was: Re: LoadModule questions on WIN32)

2005-09-06 Thread Jim Jagielski
[EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Jim Jagielski wrote: Hold on a tic... it seems to be related to whether or not it's within a Vhost... I think this is the solution as for each virtual host the create_server_config is run for this virtual host again *after*