summaryrefslogtreecommitdiffstats
path: root/modules/proxy/balancers
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2009-02-01 22:52:54 +0100
committerJim Jagielski <jim@apache.org>2009-02-01 22:52:54 +0100
commit0af11397c17a354e89c360eb8483cbc6cc5e6066 (patch)
treefa26460ccab03fbdf08ee810e2d3031236e6ec16 /modules/proxy/balancers
parentCorrect logic with non-seq lbsets config'ed (diff)
downloadapache2-0af11397c17a354e89c360eb8483cbc6cc5e6066.tar.xz
apache2-0af11397c17a354e89c360eb8483cbc6cc5e6066.zip
Correct logic with non-seq lbsets config'ed
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@739853 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/proxy/balancers')
-rw-r--r--modules/proxy/balancers/mod_lbmethod_byrequests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/proxy/balancers/mod_lbmethod_byrequests.c b/modules/proxy/balancers/mod_lbmethod_byrequests.c
index e82e994604..f5ff91d014 100644
--- a/modules/proxy/balancers/mod_lbmethod_byrequests.c
+++ b/modules/proxy/balancers/mod_lbmethod_byrequests.c
@@ -94,7 +94,7 @@ static proxy_worker *find_best_byrequests(proxy_balancer *balancer,
if (worker->s->lbset > max_lbset)
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)) )
continue;