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

Attachment: balancer_diff
Description: Binary data


Reply via email to