OpenJDK / jdk7u / jdk7u-dev / jdk
changeset 7228:08aa3b2fd289
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 | 3cbe4f93fc13 |
children | 2f63db1d2a24 |
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 30 18:54:16 2014 +0100 +++ b/src/share/classes/com/sun/jndi/ldap/Connection.java Fri May 23 19:42:16 2014 +0100 @@ -479,7 +479,7 @@ } if ((rber == null) && waited) { - removeRequest(ldr); + abandonRequest(ldr, null); throw new NamingException("LDAP response read timed out, timeout used:" + readTimeout + "ms." );