Skip to content
  1. Mar 08, 2002
    • Jeff Trawick's avatar
      implement a common function for getting a socket and trying to connect · ee82b957
      Jeff Trawick authored
      to the target host; use that common function for proxy HTTP and proxy
      CONNECT
      
      In that new function, fix this problem:
      
           Proxy HTTP and CONNECT: Keep trying other addresses from the DNS
           when we can't get a socket in the specified address family.  We may
           have gotten back an IPv6 address first and yet our system is not
           configured to allow IPv6 sockets.
      
      An example host is www.ipv6.org.  The first address I get back is
      an IPv6 address, but my machine may not be configured to allow an
      AF_INET6 socket.
      
      Before the fix: The apr_socket() failure was fatal.
      After the fix:  When apr_socket() fails, we go to the next address from
                      the resolver, successfully create a socket in the
                      specified family (AF_INET), and all is well.
      
      (an unrelated fix in this commit was to pass a server_rec in a broken
      ap_log_error() call)
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93787 13f79535-47bb-0310-9956-ffa450edef68
      ee82b957
  2. Mar 07, 2002
  3. Mar 06, 2002
  4. Feb 28, 2002
  5. Feb 27, 2002
  6. Feb 25, 2002
  7. Feb 23, 2002
  8. Feb 22, 2002
  9. Feb 21, 2002
  10. Feb 20, 2002
  11. Feb 19, 2002
  12. Feb 18, 2002
  13. Feb 16, 2002
  14. Feb 15, 2002