From: Jim Jagielski Date: Sun, 1 Feb 2009 21:53:05 +0000 (+0000) Subject: Correct logic with non-seq lbsets config'ed X-Git-Tag: 2.3.2~95 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=197c5ef5412951ecc244e9ac8d79813bd7df42dc;p=apache Correct logic with non-seq lbsets config'ed git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@739854 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/balancers/mod_lbmethod_bybusyness.c b/modules/proxy/balancers/mod_lbmethod_bybusyness.c index d3423d2e39..5bdeef7e7d 100644 --- a/modules/proxy/balancers/mod_lbmethod_bybusyness.c +++ b/modules/proxy/balancers/mod_lbmethod_bybusyness.c @@ -53,7 +53,7 @@ static proxy_worker *find_best_bybusyness(proxy_balancer *balancer, max_lbset = worker->s->lbset; } - if (worker->s->lbset > cur_lbset) + if (worker->s->lbset != cur_lbset) continue; if ( (checking_standby ? !PROXY_WORKER_IS_STANDBY(worker) : PROXY_WORKER_IS_STANDBY(worker)) )