Commit 0a06c63f authored by Eric Covener's avatar Eric Covener
Browse files

Merge r734703 from trunk:

* Set the error time if we set a worker in error mode.

Submitted by: rpluem
Reviewed By: rpluem, trawick, pgollucci




git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@739610 13f79535-47bb-0310-9956-ffa450edef68
parent 232f6ed1
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -86,13 +86,6 @@ RELEASE SHOWSTOPPERS:
PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
  [ start all new proposals below, under PATCHES PROPOSED. ]

 * mod_proxy: Set the error time if we set a worker in error mode.
   Trunk version of patch:
      http://svn.apache.org/viewvc?rev=734703&view=rev
   Backport version for 2.2.x of patch:
      Trunk version of patch works
   +1: rpluem, trawick, pgollucci

PATCHES PROPOSED TO BACKPORT FROM TRUNK:
  [ New proposals should be added at the end of the list ]

+4 −1
Original line number Diff line number Diff line
@@ -1002,8 +1002,10 @@ static int proxy_handler(request_rec *r)
             * We can not failover to another worker.
             * Mark the worker as unusable if member of load balancer
             */
            if (balancer)
            if (balancer) {
                worker->s->status |= PROXY_WORKER_IN_ERROR;
                worker->s->error_time = apr_time_now();
            }
            break;
        }
        else if (access_status == HTTP_SERVICE_UNAVAILABLE) {
@@ -1013,6 +1015,7 @@ static int proxy_handler(request_rec *r)
             */
            if (balancer) {
                worker->s->status |= PROXY_WORKER_IN_ERROR;
                worker->s->error_time = apr_time_now();
            }
        }
        else {