]> granicus.if.org Git - apache/commitdiff
Correct logic with non-seq lbsets config'ed
authorJim Jagielski <jim@apache.org>
Sun, 1 Feb 2009 21:53:05 +0000 (21:53 +0000)
committerJim Jagielski <jim@apache.org>
Sun, 1 Feb 2009 21:53:05 +0000 (21:53 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@739854 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/balancers/mod_lbmethod_bybusyness.c

index d3423d2e399b1e94423e25dbdb42434f18d0c7c8..5bdeef7e7d4141f3619b2a2256620490124721b7 100644 (file)
@@ -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)) )