OpenJDK / portola / portola
changeset 6126:bf66999384ac
6870947: 15 sec delay detecting "socket closed" condition when a TCP connection is reset by an LDAP server
Reviewed-by: weijun
author | xuelei |
---|---|
date | Tue, 27 Jul 2010 16:07:00 +0800 |
parents | f919e72613e5 |
children | 4ae58033c829 |
files | jdk/src/share/classes/com/sun/jndi/ldap/Connection.java |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/jdk/src/share/classes/com/sun/jndi/ldap/Connection.java Mon Jul 26 09:06:47 2010 -0700 +++ b/jdk/src/share/classes/com/sun/jndi/ldap/Connection.java Tue Jul 27 16:07:00 2010 +0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -658,6 +658,11 @@ } } if (nparent) { + LdapRequest ldr = pendingRequests; + while (ldr != null) { + ldr.notify(); + ldr = ldr.next; + } parent.processConnectionClosure(); } }