mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
fix incorrect rv. Sorry.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1847234 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1412,7 +1412,7 @@ static int balancer_handler(request_rec *r)
|
|||||||
/* by default, all new workers are disabled */
|
/* by default, all new workers are disabled */
|
||||||
ap_proxy_set_wstatus(PROXY_WORKER_DISABLED_FLAG, 1, nworker);
|
ap_proxy_set_wstatus(PROXY_WORKER_DISABLED_FLAG, 1, nworker);
|
||||||
} else {
|
} else {
|
||||||
ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO(01207)
|
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(01207)
|
||||||
"%s: failed to add worker %s",
|
"%s: failed to add worker %s",
|
||||||
bsel->s->name, val);
|
bsel->s->name, val);
|
||||||
PROXY_GLOBAL_UNLOCK(bsel);
|
PROXY_GLOBAL_UNLOCK(bsel);
|
||||||
@@ -1424,7 +1424,7 @@ static int balancer_handler(request_rec *r)
|
|||||||
bsel->s->name);
|
bsel->s->name);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO(01207)
|
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(01207)
|
||||||
"%s: failed to add worker %s",
|
"%s: failed to add worker %s",
|
||||||
bsel->s->name, val);
|
bsel->s->name, val);
|
||||||
return HTTP_BAD_REQUEST;
|
return HTTP_BAD_REQUEST;
|
||||||
|
Reference in New Issue
Block a user