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=30260>.
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=30260

apr_socket_connect(() fails under load: Only one usage of each socket address 
(protocol/network address/port) is normally permitted

           Summary: apr_socket_connect(() fails under load: Only one usage
                    of each socket address (protocol/network address/port)
                    is normally permitted
           Product: Apache httpd-2.0
           Version: 2.0-HEAD
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_proxy
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


When proxy is reverse proxying a site under load tests, the following error is
encountered:

[error] (OS 10048)Only one usage of each socket address (protocol/network
address/port) is normally permitted.  : proxy: HTTP: attempt to connect to
127.0.0.1:8080 (localhost) failed

Mladen Turk <[EMAIL PROTECTED]> proposes the following fix to line 1037 of
proxy_util.c:

        /* make the connection out of the socket */
        do {
            rv = apr_socket_connect(*newsock, backend_addr);
        } while (APR_STATUS_IS_EINTR(rv)); 

The only query is whether the above code would be an infinite loop in any
circumstances.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to