From 215ab95bfd49d3daef51584866771b6d671a5419 Mon Sep 17 00:00:00 2001
From: dugan <dugan@localhost>
Date: Thu, 17 Aug 2006 19:31:31 +0000
Subject: [PATCH] Fix server hang when a connection to the server is denied. Remove explicit calls to cancel.
---
opends/src/server/org/opends/server/protocols/ldap/LDAPConnectionHandler.java | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/opends/src/server/org/opends/server/protocols/ldap/LDAPConnectionHandler.java b/opends/src/server/org/opends/server/protocols/ldap/LDAPConnectionHandler.java
index eda8cd0..92f2a62 100644
--- a/opends/src/server/org/opends/server/protocols/ldap/LDAPConnectionHandler.java
+++ b/opends/src/server/org/opends/server/protocols/ldap/LDAPConnectionHandler.java
@@ -1242,7 +1242,6 @@
if (clientConnection.getConnectionID() < 0)
{
// The connection will have already been closed.
- key.cancel();
iterator.remove();
continue;
}
@@ -1261,7 +1260,6 @@
clientConnection.getClientHostPort(),
clientConnection.getServerHostPort());
- key.cancel();
iterator.remove();
continue;
}
@@ -1281,7 +1279,6 @@
clientConnection.getClientHostPort(),
clientConnection.getServerHostPort());
- key.cancel();
iterator.remove();
continue;
}
@@ -1304,7 +1301,6 @@
}
else
{
- key.cancel();
iterator.remove();
continue;
}
@@ -1328,7 +1324,6 @@
sendRejectionNotice, message,
msgID);
- key.cancel();
iterator.remove();
continue;
}
--
Gitblit v1.10.0