From f67af7588ba1f7827bc6ff907729d14bf39a19f6 Mon Sep 17 00:00:00 2001
From: boli <boli@localhost>
Date: Wed, 04 Jun 2008 17:24:01 +0000
Subject: [PATCH] Fix for issues 3255, 3265, and 3269:

---
 opends/src/server/org/opends/server/core/SearchOperationBasis.java |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/opends/src/server/org/opends/server/core/SearchOperationBasis.java b/opends/src/server/org/opends/server/core/SearchOperationBasis.java
index eeb8611..662eed5 100644
--- a/opends/src/server/org/opends/server/core/SearchOperationBasis.java
+++ b/opends/src/server/org/opends/server/core/SearchOperationBasis.java
@@ -582,13 +582,6 @@
   public final boolean returnEntry(Entry entry, List<Control> controls)
   {
     boolean typesOnly = getTypesOnly();
-    // See if the operation has been abandoned.  If so, then don't send the
-    // entry and indicate that the search should end.
-    if (getCancelRequest() != null)
-    {
-      setResultCode(ResultCode.CANCELED);
-      return false;
-    }
 
     // See if the size limit has been exceeded.  If so, then don't send the
     // entry and indicate that the search should end.
@@ -1005,15 +998,6 @@
    */
   public final boolean returnReference(DN dn, SearchResultReference reference)
   {
-    // See if the operation has been abandoned.  If so, then don't send the
-    // reference and indicate that the search should end.
-    if (getCancelRequest() != null)
-    {
-      setResultCode(ResultCode.CANCELED);
-      return false;
-    }
-
-
     // See if the time limit has expired.  If so, then don't send the entry and
     // indicate that the search should end.
     if ((getTimeLimit() > 0) && (TimeThread.getTime() >=

--
Gitblit v1.10.0