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 27542] - multiple-homed Web hosts - con refused to first IP doesn't fall through to second
Date Wed, 10 Mar 2004 12:38:15 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=27542>.
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=27542

multiple-homed Web hosts - con refused to first IP doesn't fall through to second

white@extrasy.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME



------- Additional Comments From white@extrasy.net  2004-03-10 12:38 -------
Likely I fixed this.  I'd much appreciate if this will be commited to the 
source tree - I am not happy applying patches every time when I rebuild a 
system. :)

--- proxy_http.c.orig   Wed Mar 10 05:34:43 2004
+++ proxy_http.c        Wed Mar 10 05:35:00 2004
@@ -278,6 +278,8 @@
         i = ap_proxy_doconnect(sock, &server, r);
         if (i == 0)
             break;
+       /* Even if the connection was unsuccesful we should reinit the socket */
+       sock = ap_psocket_ex(p, PF_INET, SOCK_STREAM, IPPROTO_TCP, 1);
         j++;
     }
 #endif

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


Mime
View raw message