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

[EMAIL PROTECTED] changed:

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



------- Additional Comments From [EMAIL PROTECTED]  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to