httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43697] New: - relaying proxy gets DNS error
Date Thu, 25 Oct 2007 12:44:22 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43697>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43697

           Summary: relaying proxy gets DNS error
           Product: Apache httpd-2
           Version: 2.2.6
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: nekomaho@gmail.com


the proxy which relay to internet gateway proxy gets DNS error in HTTPS
connection. apache 2.2.4 is OK.

dirty fix is here.
$ diff -u mod_proxy_connect.c.bak mod_proxy_connect.c
--- mod_proxy_connect.c.bak     2007-09-03 02:42:59.000000000 +0900
+++ mod_proxy_connect.c 2007-10-25 21:42:00.286125000 +0900
@@ -124,7 +124,7 @@
     /* do a DNS lookup for the destination host */
     err = apr_sockaddr_info_get(&uri_addr, uri.hostname, APR_UNSPEC, uri.port,
                                 0, p);
-    if (APR_SUCCESS != err) {
+    if ((APR_SUCCESS != err) && !proxyname) {
         return ap_proxyerror(r, HTTP_BAD_GATEWAY,
                              apr_pstrcat(p, "DNS lookup failure for: ",
                                          uri.hostname, NULL));

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message