提交 b31af1b1 编写于 作者: X xuelei

6870947: 15 sec delay detecting "socket closed" condition when a TCP...

6870947: 15 sec delay detecting "socket closed" condition when a TCP connection is reset by an LDAP server
Reviewed-by: weijun
上级 9cfe8b73
/*
* 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 @@ public final class Connection implements Runnable {
}
}
if (nparent) {
LdapRequest ldr = pendingRequests;
while (ldr != null) {
ldr.notify();
ldr = ldr.next;
}
parent.processConnectionClosure();
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册