You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2010/02/13 15:12:36 UTC

DO NOT REPLY [Bug 48736] New: apr_socket_connect() incompatibility between Unix and Windows

https://issues.apache.org/bugzilla/show_bug.cgi?id=48736

           Summary: apr_socket_connect() incompatibility between Unix and
                    Windows
           Product: APR
           Version: HEAD
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: APR
        AssignedTo: bugs@apr.apache.org
        ReportedBy: inoue@ariel-networks.com


Created an attachment (id=24977)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24977)
take care of WSAEISCONN

Unix's apr_socket_connect() takes care of EISCONN and returns APR_SUCCESS in
case of EISCONN.
For compatibility with this, Window's apr_socket_connect() should take care of
WSAEISCONN.

I will attach the patch.

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

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


DO NOT REPLY [Bug 48736] apr_socket_connect() incompatibility between Unix and Windows

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48736

Jeff Trawick <tr...@apache.org> changed:

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

--- Comment #2 from Jeff Trawick <tr...@apache.org> 2011-04-05 09:29:43 EDT ---
fixed in trunk r1089031
I'll make a note to see about backporting to 1.x after the upcoming 1.4.3
release

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

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


DO NOT REPLY [Bug 48736] apr_socket_connect() incompatibility between Unix and Windows

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48736

--- Comment #1 from Jeff Trawick <tr...@apache.org> 2011-04-04 10:50:30 EDT ---
FWIW, I am working with a patch which covers this issue as well.  Hopefully I
can get it committed soon-ish.

I've rearranged the network_io/win32 apr_socket_connect() to closely match the
network_io/unix version, and in the process picked up a couple of lines of code
to handle EISCONN and a getpeername() optimization.

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

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