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

Vincent Ryan vincent.x.ryan at oracle.com
Mon Oct 15 14:27:31 UTC 2012


Those changes look good Rob.
Thanks.


On 11 Oct 2012, at 21:22, Rob McKenna wrote:
> 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