8041451: com.sun.jndi.ldap.Connection:ReadTimeout should abandon ldap request
authorrobm
Fri, 23 May 2014 19:42:16 +0100
changeset 24568 0a6c919b3b31
parent 24567 a0ebe5fd56ff
child 24569 9e8d972e5e3b
child 24579 cc32ec7a4083
8041451: com.sun.jndi.ldap.Connection:ReadTimeout should abandon ldap request Reviewed-by: vinnie
jdk/src/share/classes/com/sun/jndi/ldap/Connection.java
--- a/jdk/src/share/classes/com/sun/jndi/ldap/Connection.java	Fri May 23 09:05:24 2014 -0700
+++ b/jdk/src/share/classes/com/sun/jndi/ldap/Connection.java	Fri May 23 19:42:16 2014 +0100
@@ -474,7 +474,7 @@
         }
 
         if ((rber == null) && waited) {
-            removeRequest(ldr);
+            abandonRequest(ldr, null);
             throw new NamingException("LDAP response read timed out, timeout used:"
                             + readTimeout + "ms." );