httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: Arranging mod_proxy_balancer in trunk
Date Tue, 13 Apr 2010 20:35:51 GMT

On Apr 13, 2010, at 4:29 PM, Jim Jagielski wrote:

> 
> On Apr 8, 2010, at 3:58 AM, jean-frederic clere wrote:
> 
>> On 04/07/2010 03:40 PM, "Plüm, Rüdiger, VF-Group" wrote:
>>> 
>>> 
>>>> -----Original Message-----
>>>> From: jean-frederic clere [mailto:jfclere@gmail.com] 
>>>> Sent: Mittwoch, 7. April 2010 15:32
>>>> To: dev@httpd.apache.org
>>>> Subject: Arranging mod_proxy_balancer in trunk
>>>> 
>>>> Hi,
>>>> 
>>>> In mod_proxy_balancer after
>>>> runtime = find_session_route(*balancer, r, &route, &sticky, url);
>>>> 
>>>> There is a logic that belongs to the LB implementation, my 
>>>> idea is to add a
>>>> apr_status_t (*updatelbstatus)(proxy_balancer *balancer, proxy_worker
>>>> *elected, server_rec *s);
>>>> in the proxy_balancer_method (mod_proxy.h) and call the LB 
>>>> implementation.
>>>> 
>>>> Comments?
>>> 

You should also likely pass a int * (or something) to handle
the requirement to also "know" total_factor outside of that
call... Of course, lbstatus is something that outside code
shouldn't really know about, but that's a whole 'nother
point ;)
Mime
View raw message