8041451: com.sun.jndi.ldap.Connection:ReadTimeout should abandon ldap request

Reviewed-by: vinnie
This commit is contained in:
Rob McKenna 2014-05-23 19:42:16 +01:00
parent 6a13c2cf98
commit 7f334fe1a1

View File

@ -474,7 +474,7 @@ public final class Connection implements Runnable {
}
if ((rber == null) && waited) {
removeRequest(ldr);
abandonRequest(ldr, null);
throw new NamingException("LDAP response read timed out, timeout used:"
+ readTimeout + "ms." );