httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colin Murtaugh <cmurta...@yahoo.com>
Subject [PATCH] Bug 36816: balancer_manager doesn't work if worker name contains port
Date Wed, 05 Oct 2005 18:44:08 GMT
Attached is a patch for bug 36816.  The balancer_manager interface  
offered by mod_proxy_balancer doesn't work properly if a worker name  
contains a port number.

E.g. if I have configured a cluster as:

<Proxy balancer://testcluster>
     BalancerMember http://server-one.mydomain.com:1234
     BalancerMember http://server-two.mydomain.com:1234
</Proxy>

then I'm not able to edit the worker settings via the  
balancer_manager.  This is because the worker->name is being compared  
to worker->hostname; worker->name contains the port and worker- 
 >hostname does not.

I've created the patch below to fix this problem.

--Colin


Mime
View raw message