]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* modules/proxy/proxy_util.c
authorSander Striker <striker@apache.org>
Tue, 8 Feb 2005 23:57:50 +0000 (23:57 +0000)
committerSander Striker <striker@apache.org>
Tue, 8 Feb 2005 23:57:50 +0000 (23:57 +0000)
  (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

modules/proxy/proxy_util.c

index 68c3bca32eb855985100b60c2b7faa810d321647..ba277073f8c53e58f5120569be625afc9952c2d7 100644 (file)
@@ -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;