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

boli
10.11.2009 943ba3cd559f1166b927a01a1763abe664e883f6
opends/src/server/org/opends/server/protocols/ldap/LDAPClientConnection.java
@@ -280,12 +280,6 @@
      statTracker.updateConnect();
    }
    connectionID = DirectoryServer.newConnectionAccepted(this);
    if (connectionID < 0)
    {
      disconnect(DisconnectReason.ADMIN_LIMIT_EXCEEDED, true,
          ERR_LDAP_CONNHANDLER_REJECTED_BY_SERVER.get());
    }
    cachedBuffers = new ThreadLocal<WriterBuffer>();
    tlsChannel =
        RedirectingByteChannel.getRedirectingByteChannel(clientChannel);
@@ -294,6 +288,13 @@
    this.asn1Reader =
        ASN1.getReader(saslChannel, 4096, connectionHandler
            .getMaxRequestSize());
    connectionID = DirectoryServer.newConnectionAccepted(this);
    if (connectionID < 0)
    {
      disconnect(DisconnectReason.ADMIN_LIMIT_EXCEEDED, true,
          ERR_LDAP_CONNHANDLER_REJECTED_BY_SERVER.get());
    }
  }