Commit 9df18c2e authored by Sander Striker's avatar Sander Striker
Browse files

* modules/proxy/proxy_util.c

  (ap_proxy_pre_request): Log an error when all workers are busy.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@152964 13f79535-47bb-0310-9956-ffa450edef68
parent 7c918d8d
Loading
Loading
Loading
Loading
+3 −0
Changes for modules/proxy/proxy_util.c: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -1355,6 +1355,9 @@ PROXY_DECLARE(int) ap_proxy_pre_request(proxy_worker **worker,
    }
    else if (access_status == DECLINED && balancer != NULL) {
        /* All the workers are busy */
        ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
          "proxy: all workers are busy.  Unable to serve %s",
          *url);
        access_status = HTTP_SERVICE_UNAVAILABLE;
    }
    return access_status;