changeset 9636:7b79f729f29e

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 a88e0ce6dda1
children ddecc075b759
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 16:24:43 2014 +0100
+++ 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." );