httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruediger Pluem <rpl...@apache.org>
Subject Re: [PATCH] Bug 36816: balancer_manager doesn't work if worker name contains port
Date Mon, 10 Oct 2005 22:26:35 GMT


On 10/10/2005 11:13 PM, Ruediger Pluem wrote:



[..cut..]

> 
> Thus ap_proxy_get_worker would be called with the URL http://backend.com/rsync/bar
> which would lead to a no match. I guess instead of a simple strcasecmp
> we need something like a "longest match" here since I think we cannot rely
> on the order the workers got stored. Do you know if a "longest match" function

Attached a new version which does a longest match and should fix the problem.

[..cut..]

BTW: Tomorrow I will have a look a the log messages, where it makes sense to exchange
worker->hostname against worker->name.

Regards

RĂ¼diger

Mime
View raw message