]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_proxy_balancer: Restore balancing after a failed worker has
authorJeff Trawick <trawick@apache.org>
Fri, 27 Jul 2012 11:50:25 +0000 (11:50 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 27 Jul 2012 11:50:25 +0000 (11:50 +0000)
commit98bde9c03bdce2ca44b03ad8d004bf5417dda843
tree65e692fcfaba2c4f41c97d5c43f412cd722b0ec1
parent7d78170a232779aa3e69335a088c682fb900f366
mod_proxy_balancer: Restore balancing after a failed worker has
recovered when using lbmethod_bybusyness.

PR: 48735

Markus Stoll and Adam C both submitted patches against 2.2.x
to bug 48735.  Compared with those two, this solution

1. resets the busy field in the error-ed worker at the end of
   the request instead of at recovery time
2. leaves the lbstatus field alone
3. covers all possible scenarios where the busy field in the
   error-ed worker needs to be adjusted, since a cleanup to
   perform the decrement is registered at the point of the
   increment

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1366344 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/proxy/mod_proxy_balancer.c