RFR 8043954: Fix behavior difference of connect() for AIX
Jonathan Lu
luchsh at linux.vnet.ibm.com
Tue Jun 3 09:51:02 UTC 2014
Hello,
Could I have following patch reviewed for bug 8034954 ?
http://cr.openjdk.java.net/~luchsh/JDK-8043954/
The patch is to fix a behavior difference of connect() API for AIX platform,
according to the documentation,
http://www-01.ibm.com/support/knowledgecenter/ssw_aix_71/com.ibm.aix.commtrf2/connect.htm?lang=en
On AIX, when connect() got interrupted by signal, the underlying connection
will be made asynchronously,
"EINTR The attempt to establish a connection was interrupted by delivery of
a signal that was caught; the connection will be established
asynchronously."
This fix tries to poll() for successfully established connection or error
in the similar way as NET_Timeout().
Thanks
Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/net-dev/attachments/20140603/7731f636/attachment.html>
More information about the net-dev
mailing list