Request for review: 8000487: Java JNDI connection library on ldap conn is not honoring configured timeout (original) (raw)

Rob McKenna rob.mckenna at oracle.com
Thu Oct 11 20:22:48 UTC 2012


Hi folks,

Seemingly when using ldap's simple authentication we perform a readReply. (an operation which is subject to com.sun.jndi.ldap.read.timeout as opposed to com.sun.jndi.ldap.connect.timeout) This makes an apparent connection to a faulty host appear to take much longer than the specified connect timeout. The proposed solution is to set the read timeout value to the same value as the connect for the duration of the authentication call.

In addition to this I've merged the testcase for this issue with the testcases for other ldap timeout issues.

http://cr.openjdk.java.net/~robm/8000487/webrev.01/ <http://cr.openjdk.java.net/%7Erobm/8000487/webrev.01/>

Thanks,

 -Rob


More information about the core-libs-dev mailing list