From aa62a3550f96cac31d081254169939a46c9a387d Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Thu, 11 Jun 2009 13:18:13 +0000
Subject: [PATCH] While investigating issue 4046 I've noticed that in case of an error during the SSL handshake that is used for the authentication of the replication session the associated socket is not correctly closed by the replication code. The socket therefore is left open and the associated resources are never free.
---
opends/src/server/org/opends/server/controls/ExternalChangelogRequestControl.java | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/opends/src/server/org/opends/server/controls/ExternalChangelogRequestControl.java b/opends/src/server/org/opends/server/controls/ExternalChangelogRequestControl.java
index 8747c4f..8f1fdcc 100644
--- a/opends/src/server/org/opends/server/controls/ExternalChangelogRequestControl.java
+++ b/opends/src/server/org/opends/server/controls/ExternalChangelogRequestControl.java
@@ -29,12 +29,10 @@
import static org.opends.server.protocols.asn1.ASN1Constants.*;
import static org.opends.server.util.ServerConstants.*;
import static org.opends.server.util.StaticUtils.getExceptionMessage;
-import static org.opends.server.loggers.debug.DebugLogger.getTracer;
import java.io.IOException;
import org.opends.messages.Message;
-import org.opends.server.loggers.debug.DebugTracer;
import org.opends.server.protocols.asn1.ASN1;
import org.opends.server.protocols.asn1.ASN1Reader;
import org.opends.server.protocols.asn1.ASN1Writer;
@@ -48,19 +46,15 @@
/**
- * This class implements the persistent search control defined in
- * draft-ietf-ldapext-psearch. It makes it possible for clients to be notified
- * of changes to information in the Directory Server as they occur.
+ * This class implements the control used to browse the external changelog.
*/
public class ExternalChangelogRequestControl
extends Control
{
- private static final DebugTracer TRACER = getTracer();
-
private MultiDomainServerState cookie;
/**
- * ControlDecoder implentation to decode this control from a ByteString.
+ * ControlDecoder implementation to decode this control from a ByteString.
*/
private final static class Decoder
implements ControlDecoder<ExternalChangelogRequestControl>
--
Gitblit v1.10.0