httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From orlikow...@apache.org
Subject cvs commit: httpd-2.0/server util_uri.c
Date Sun, 08 Apr 2001 07:52:33 GMT
orlikowski    01/04/08 00:52:33

  Modified:    server   util_uri.c
  Log:
  As in the case of 1.3, there are expected cases where this should not
  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.
  
  Revision  Changes    Path
  1.27      +0 -1      httpd-2.0/server/util_uri.c
  
  Index: util_uri.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/util_uri.c,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- util_uri.c	2001/04/04 07:22:20	1.26
  +++ util_uri.c	2001/04/08 07:52:33	1.27
  @@ -289,7 +289,6 @@
   	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);
  
  
  

Mime
View raw message