The now reflects the real name withouth scheme:// prefix.
Submitted by: mturk
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104628
13f79535-47bb-0310-9956-
ffa450edef68
ap_str_tolower(uri);
*worker = apr_array_push(conf->workers);
memset(*worker, 0, sizeof(proxy_worker));
- (*worker)->name = (*worker)->hostname = apr_pstrdup(p, uri);
+ (*worker)->name = apr_pstrdup(p, uri);
*c = '\0';
(*worker)->scheme = uri;
+ (*worker)->hostname = c + 3;
+
if (port == -1)
port = apr_uri_port_of_scheme((*worker)->scheme);
(*worker)->port = port;