From 1dfff197eadcf24823d7915e6eead2a850f679f9 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Tue, 14 Feb 2012 16:09:28 +0000
Subject: [PATCH] Fix OPENDJ-420: Rare SSLExceptions while handling LDAPS connections and big LDAP searches

---
 opends/src/server/org/opends/server/extensions/ConnectionSecurityProvider.java |   18 +++---------------
 1 files changed, 3 insertions(+), 15 deletions(-)

diff --git a/opends/src/server/org/opends/server/extensions/ConnectionSecurityProvider.java b/opends/src/server/org/opends/server/extensions/ConnectionSecurityProvider.java
index dbe19d4..287ea8b 100644
--- a/opends/src/server/org/opends/server/extensions/ConnectionSecurityProvider.java
+++ b/opends/src/server/org/opends/server/extensions/ConnectionSecurityProvider.java
@@ -42,15 +42,6 @@
 {
 
   /**
-   * Return a buffer size of the byte channel.
-   *
-   * @return Integer representing the byte channel application buffer size.
-   */
-  int getAppBufSize();
-
-
-
-  /**
    * Return a certificate chain array.
    *
    * @return A certificate chain array.
@@ -87,12 +78,9 @@
 
 
   /**
-   * Factory method: creates a new security ByteChannel layer wrapping the
-   * provided ByteChannel.
+   * Returns the security provider's byte channel.
    *
-   * @param channel
-   *          The byte channel to be wrapped.
-   * @return A byte channel wrapping the specified byte channel.
+   * @return The security provider's byte channel.
    */
-  ByteChannel wrapChannel(ByteChannel channel);
+  ByteChannel getChannel();
 }

--
Gitblit v1.10.0