Request for review: 8000487: Java JNDI connection library on ldap conn is not honoring configured timeout
rob.mckenna at oracle.com
Thu Oct 11 20:22:48 UTC 2012
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.
More information about the core-libs-dev