]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
*Sigh.* Taking tjis back out *again,* to keep things fast in the default case.
authorVictor J. Orlikowski <orlikowski@apache.org>
Sun, 8 Apr 2001 07:50:02 +0000 (07:50 +0000)
committerVictor J. Orlikowski <orlikowski@apache.org>
Sun, 8 Apr 2001 07:50:02 +0000 (07:50 +0000)
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

src/main/util_uri.c

index ac2e838fe463cb4fd1c1e94d885f09e658620e01..d73413c63ad4e7fb4fce751cd2d5a1ad6fb068c3 100644 (file)
@@ -421,7 +421,6 @@ API_EXPORT(int) ap_parse_uri_components(pool *p, const char *uri,
         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);