httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject cvs commit: httpd-2.0/server core.c
Date Wed, 22 Oct 2003 17:07:26 GMT
bnicholes    2003/10/22 10:07:26

  Modified:    server   core.c
  Log:
  When UseCanonicalName is set to OFF, allow ap_get_server_port to check
  r->connection->local_addr->port before defaulting to server->port or
  ap_default_port().
  
  Revision  Changes    Path
  1.247     +1 -0      httpd-2.0/server/core.c
  
  Index: core.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/core.c,v
  retrieving revision 1.246
  retrieving revision 1.247
  diff -u -r1.246 -r1.247
  --- core.c	30 Sep 2003 09:30:06 -0000	1.246
  +++ core.c	22 Oct 2003 17:07:26 -0000	1.247
  @@ -928,6 +928,7 @@
            * any are supplied (otherwise it will use the canonical name).
            */
           port = r->parsed_uri.port ? r->parsed_uri.port :
  +               r->connection->local_addr->port ? r->connection->local_addr->port
:
                  r->server->port ? r->server->port :
                  ap_default_port(r);
       }
  
  
  

Mime
View raw message