This appears not to be expected to return the port in all cases; module
authors should not expect this to be the case.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@88763
13f79535-47bb-0310-9956-
ffa450edef68
if (s == NULL) {
/* we expect the common case to have no port */
uptr->hostname = ap_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 = ap_pstrndup(p, hostinfo, s - hostinfo);