Details
-
Bug
-
Resolution: Done
-
Major
-
6.0.2.Final
-
None
-
None
Description
Socket reads should be retried when the attempt to read returns either EAGAIN or EINTR meaning that the command should be tried again or has been interrupted. On Windows the equivalent return values are WSATRY_AGAIN and WSAEINTR. The current code on Linux returns -1 in this situation. I found this issue while trying to add the ServerFailureRetryTest to the JniTest class.