mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
mod_proxy: Provide an RFC1035 compliant version of the hostname in the
proxy_worker_shared structure. PR62085 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1824176 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -452,7 +452,7 @@ static void force_recovery(proxy_balancer *balancer, server_rec *s)
|
||||
(*worker)->s->status &= ~PROXY_WORKER_IN_ERROR;
|
||||
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, APLOGNO(01165)
|
||||
"%s: Forcing recovery for worker (%s)",
|
||||
balancer->s->name, (*worker)->s->hostname);
|
||||
balancer->s->name, (*worker)->s->hostname_ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1469,7 +1469,7 @@ static int balancer_handler(request_rec *r)
|
||||
"</httpd:name>\n", NULL);
|
||||
ap_rvputs(r, " <httpd:scheme>", worker->s->scheme,
|
||||
"</httpd:scheme>\n", NULL);
|
||||
ap_rvputs(r, " <httpd:hostname>", worker->s->hostname,
|
||||
ap_rvputs(r, " <httpd:hostname>", worker->s->hostname_ex,
|
||||
"</httpd:hostname>\n", NULL);
|
||||
ap_rprintf(r, " <httpd:loadfactor>%.2f</httpd:loadfactor>\n",
|
||||
(float)(worker->s->lbfactor)/100.0);
|
||||
|
Reference in New Issue
Block a user