You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2012/03/15 21:56:57 UTC

svn commit: r1301194 - in /httpd/httpd/branches/2.4.x: STATUS modules/proxy/mod_proxy_balancer.c

Author: trawick
Date: Thu Mar 15 20:56:57 2012
New Revision: 1301194

URL: http://svn.apache.org/viewvc?rev=1301194&view=rev
Log:
merge from trunk r1299738:

mod_proxy_balancer: fix error message implying recovery during a markdown
(a fix for r962972)

Submitted by: covener
Reviewed by: jim, trawick

Modified:
    httpd/httpd/branches/2.4.x/STATUS
    httpd/httpd/branches/2.4.x/modules/proxy/mod_proxy_balancer.c

Modified: httpd/httpd/branches/2.4.x/STATUS
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/STATUS?rev=1301194&r1=1301193&r2=1301194&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/STATUS (original)
+++ httpd/httpd/branches/2.4.x/STATUS Thu Mar 15 20:56:57 2012
@@ -88,11 +88,7 @@ RELEASE SHOWSTOPPERS:
 PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
   [ start all new proposals below, under PATCHES PROPOSED. ]
 
-  * mod_proxy_balancer: fix error message implying recovery during a markdown
-    Trunk patch: http://svn.apache.org/viewvc?rev=1299738&view=rev
-    2.4.x patch: trunk works
-    (Was changed in http://svn.apache.org/viewvc?view=revision&revision=962972)
-    +1: covener, jim, trawick
+
 
 PATCHES PROPOSED TO BACKPORT FROM TRUNK:
   [ New proposals should be added at the end of the list ]

Modified: httpd/httpd/branches/2.4.x/modules/proxy/mod_proxy_balancer.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/modules/proxy/mod_proxy_balancer.c?rev=1301194&r1=1301193&r2=1301194&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/modules/proxy/mod_proxy_balancer.c (original)
+++ httpd/httpd/branches/2.4.x/modules/proxy/mod_proxy_balancer.c Thu Mar 15 20:56:57 2012
@@ -624,8 +624,9 @@ static int proxy_balancer_post_request(p
             int val = ((int *)balancer->errstatuses->elts)[i];
             if (r->status == val) {
                 ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO(01174)
-                              "%s:  Forcing recovery for worker (%s), "
-                              "failonstatus %d",
+                              "%s: Forcing worker (%s) into error state " 
+                              "due to status code %d matching 'failonstatus' "
+                              "balancer parameter",
                               balancer->s->name, worker->s->name, val);
                 worker->s->status |= PROXY_WORKER_IN_ERROR;
                 worker->s->error_time = apr_time_now();