return a port (i.e. a uri beginning with /). Thus, we keep the
default case fast, and let module authors check back on the port being
set on their own.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88764
13f79535-47bb-0310-9956-
ffa450edef68
if (s == NULL) {
/* we expect the common case to have no port */
uptr->hostname = apr_pstrndup(p, hostinfo, uri - hostinfo);
- uptr->port = uptr->scheme ? ap_default_port_for_scheme(uptr->scheme) : DEFAULT_HTTP_PORT;
goto deal_with_path;
}
uptr->hostname = apr_pstrndup(p, hostinfo, s - hostinfo);