1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

Good catch by Ruediger

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@427368 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jim Jagielski
2006-07-31 23:46:55 +00:00
parent 61a56451a3
commit dc9255aabe

View File

@@ -919,7 +919,7 @@ static proxy_worker *find_best_byrequests(proxy_balancer *balancer,
checked_standby = checking_standby++;
}
cur_lbset++;
} while (cur_lbset < max_lbset && !mycandidate);
} while (cur_lbset <= max_lbset && !mycandidate);
if (mycandidate) {
mycandidate->s->lbstatus -= total_factor;
@@ -999,7 +999,7 @@ static proxy_worker *find_best_bytraffic(proxy_balancer *balancer,
checked_standby = checking_standby++;
}
cur_lbset++;
} while (cur_lbset < max_lbset && !mycandidate);
} while (cur_lbset <= max_lbset && !mycandidate);
if (mycandidate) {
mycandidate->s->elected++;