httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ch...@locus.apache.org
Subject cvs commit: apache-2.0/src/modules/proxy proxy_util.c
Date Fri, 17 Nov 2000 17:26:32 GMT
chuck       00/11/17 09:26:32

  Modified:    src      CHANGES
               src/modules/proxy proxy_util.c
  Log:
  fix apr_getaddrinfo() call
  
  Revision  Changes    Path
  1.337     +5 -0      apache-2.0/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/CHANGES,v
  retrieving revision 1.336
  retrieving revision 1.337
  diff -u -r1.336 -r1.337
  --- CHANGES	2000/11/17 13:19:39	1.336
  +++ CHANGES	2000/11/17 17:26:31	1.337
  @@ -1,4 +1,7 @@
   Changes with Apache 2.0a8
  +  *) Fix params for apr_getaddrinfo() call in connect proxy handler.
  +     [Chuck Murcko]
  +
     *) APR: Add new apr_getopt_long function to handle long options.
        [B. W. Fitzpatrick <fitz@red-bean.com>]
   
  @@ -63,6 +66,8 @@
        [Ryan Bloom]
   
     *) APR: add apr_get_home_directory()  [Jeff Trawick]
  +
  +  *) Initial import of 1.3-current mod_proxy. [Chuck Murcko]
   
     *) Not all platforms have INADDR_NONE defined by default.  Apache
        used to make this check and define INADDR_NONE if appropriate,
  
  
  
  1.29      +1 -1      apache-2.0/src/modules/proxy/proxy_util.c
  
  Index: proxy_util.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/proxy/proxy_util.c,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- proxy_util.c	2000/11/17 03:45:02	1.28
  +++ proxy_util.c	2000/11/17 17:26:32	1.29
  @@ -1111,7 +1111,7 @@
       int i;
       apr_sockaddr_t *destsa;
   
  -    rv = apr_getaddrinfo(&destsa, host, AF_INET, port, r->pool);
  +    rv = apr_getaddrinfo(&destsa, host, AF_INET, port, 0, r->pool);
       if (rv == APR_SUCCESS) {
           rv = apr_connect(sock, destsa);
       }
  
  
  

Mime
View raw message