mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Ensure that userland format of UDS is the same as how it is
configured, no matter how we store and use it internally. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1531962 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1544,15 +1544,15 @@ static const char *
|
||||
} else {
|
||||
reuse = 1;
|
||||
ap_log_error(APLOG_MARK, APLOG_INFO, 0, cmd->server, APLOGNO(01145)
|
||||
"Sharing worker '%s%s' instead of creating new worker '%s'",
|
||||
worker->s->name, (worker->s->uds?"|":""), new->real);
|
||||
"Sharing worker '%s' instead of creating new worker '%s'",
|
||||
ap_proxy_worker_name(cmd->pool, worker), new->real);
|
||||
}
|
||||
|
||||
for (i = 0; i < arr->nelts; i++) {
|
||||
if (reuse) {
|
||||
ap_log_error(APLOG_MARK, APLOG_WARNING, 0, cmd->server, APLOGNO(01146)
|
||||
"Ignoring parameter '%s=%s' for worker '%s%s' because of worker sharing",
|
||||
elts[i].key, elts[i].val, worker->s->name, (worker->s->uds?"|":""));
|
||||
"Ignoring parameter '%s=%s' for worker '%s' because of worker sharing",
|
||||
elts[i].key, elts[i].val, ap_proxy_worker_name(cmd->pool, worker));
|
||||
} else {
|
||||
const char *err = set_worker_param(cmd->pool, worker, elts[i].key,
|
||||
elts[i].val);
|
||||
@@ -2017,14 +2017,14 @@ static const char *add_member(cmd_parms *cmd, void *dummy, const char *arg)
|
||||
if ((err = ap_proxy_define_worker(cmd->pool, &worker, balancer, conf, name, 0)) != NULL)
|
||||
return apr_pstrcat(cmd->temp_pool, "BalancerMember ", err, NULL);
|
||||
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, cmd->server, APLOGNO(01148)
|
||||
"Defined worker '%s%s' for balancer '%s'",
|
||||
worker->s->name, (worker->s->uds ? "|" : ""), balancer->s->name);
|
||||
"Defined worker '%s' for balancer '%s'",
|
||||
ap_proxy_worker_name(cmd->pool, worker), balancer->s->name);
|
||||
PROXY_COPY_CONF_PARAMS(worker, conf);
|
||||
} else {
|
||||
reuse = 1;
|
||||
ap_log_error(APLOG_MARK, APLOG_INFO, 0, cmd->server, APLOGNO(01149)
|
||||
"Sharing worker '%s%s' instead of creating new worker '%s'",
|
||||
worker->s->name, (worker->s->uds?"|":""), name);
|
||||
"Sharing worker '%s' instead of creating new worker '%s'",
|
||||
ap_proxy_worker_name(cmd->pool, worker), name);
|
||||
}
|
||||
|
||||
arr = apr_table_elts(params);
|
||||
@@ -2032,8 +2032,8 @@ static const char *add_member(cmd_parms *cmd, void *dummy, const char *arg)
|
||||
for (i = 0; i < arr->nelts; i++) {
|
||||
if (reuse) {
|
||||
ap_log_error(APLOG_MARK, APLOG_WARNING, 0, cmd->server, APLOGNO(01150)
|
||||
"Ignoring parameter '%s=%s' for worker '%s%s' because of worker sharing",
|
||||
elts[i].key, elts[i].val, worker->s->name, (worker->s->uds?"|":""));
|
||||
"Ignoring parameter '%s=%s' for worker '%s' because of worker sharing",
|
||||
elts[i].key, elts[i].val, ap_proxy_worker_name(cmd->pool, worker));
|
||||
} else {
|
||||
err = set_worker_param(cmd->pool, worker, elts[i].key,
|
||||
elts[i].val);
|
||||
|
Reference in New Issue
Block a user