PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- * mod_proxy: Issue a warning when the same worker name is reused.
- Trunk version of patch:
- http://svn.apache.org/viewvc?view=rev&revision=421252
- Backport version for 2.2.x of patch:
- Trunk version of patch works
- +1: jim, niq, rpluem
-
* filters|proxy: Return METHOD_NOT_ALLOWED, not FORBIDDEN, to a TRACE
request when TraceEnable is Off. This agrees with our documentation,
and with our Allow: header in response to OPTIONS.
const char *err = ap_proxy_add_worker(&worker, cmd->pool, conf, r);
if (err)
return apr_pstrcat(cmd->temp_pool, "ProxyPass ", err, NULL);
+ } else {
+ ap_log_error(APLOG_MARK, APLOG_WARNING, 0, cmd->server,
+ "worker %s already used by another worker", worker->name);
}
PROXY_COPY_CONF_PARAMS(worker, conf);
const char *err;
if ((err = ap_proxy_add_worker(&worker, cmd->pool, conf, name)) != NULL)
return apr_pstrcat(cmd->temp_pool, "BalancerMember ", err, NULL);
+ } else {
+ ap_log_error(APLOG_MARK, APLOG_WARNING, 0, cmd->server,
+ "worker %s already used by another worker", worker->name);
}
PROXY_COPY_CONF_PARAMS(worker, conf);