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:
@@ -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++;
|
||||
|
Reference in New Issue
Block a user