mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

dugan
17.31.2006 215ab95bfd49d3daef51584866771b6d671a5419
Fix server hang when a connection to the server is denied. Remove explicit calls to cancel.
1 files modified
5 ■■■■■ changed files
opends/src/server/org/opends/server/protocols/ldap/LDAPConnectionHandler.java 5 ●●●●● patch | view | raw | blame | history
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;
                  }