httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgau...@hyperreal.org
Subject cvs commit: apache-1.3/src/main http_config.c
Date Wed, 25 Feb 1998 09:36:13 GMT
dgaudet     98/02/25 01:36:13

  Modified:    src      CHANGES
               src/main http_config.c
  Log:
  fix binding to port 0
  
  Revision  Changes    Path
  1.667     +3 -0      apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.666
  retrieving revision 1.667
  diff -u -r1.666 -r1.667
  --- CHANGES	1998/02/24 13:39:05	1.666
  +++ CHANGES	1998/02/25 09:36:09	1.667
  @@ -1,5 +1,8 @@
   Changes with Apache 1.3b6
   
  +  *) Fix bug introduced in 1.3b4-dev, config with no Port setting would cause
  +     server to bind to port 0 rather than 80.  [Dean Gaudet]
  +
     *) Fix long-standing problem with RewriteMap _programs_ under Unix derivates
        (like SunOS and FreeBSD) which don't accept the locking of pipes
        directly.  A new directive RewriteLock is introduced which can be used to
  
  
  
  1.99      +1 -1      apache-1.3/src/main/http_config.c
  
  Index: http_config.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/main/http_config.c,v
  retrieving revision 1.98
  retrieving revision 1.99
  diff -u -r1.98 -r1.99
  --- http_config.c	1998/02/21 21:04:33	1.98
  +++ http_config.c	1998/02/25 09:36:12	1.99
  @@ -1303,7 +1303,7 @@
       new = pcalloc(p, sizeof(listen_rec));
       new->local_addr.sin_family = AF_INET;
       new->local_addr.sin_addr = bind_address;
  -    new->local_addr.sin_port = htons(s->port);
  +    new->local_addr.sin_port = htons(s->port ? s->port : DEFAULT_HTTP_PORT);
       new->fd = -1;
       new->used = 0;
       new->next = NULL;
  
  
  

Mime
View raw message