changeset 10000:e48e3e902f4c

8041451: com.sun.jndi.ldap.Connection:ReadTimeout should abandon ldap request Reviewed-by: vinnie
author robm
date Fri, 23 May 2014 19:42:16 +0100
parents f142c0938978
children bff46681a3f8 73e09a1f1f3f
files src/share/classes/com/sun/jndi/ldap/Connection.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/com/sun/jndi/ldap/Connection.java	Fri May 23 09:05:24 2014 -0700
+++ b/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." );