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

neil_a_wilson
22.40.2007 502d18601485d50599a886e7a983471842b5b688
opends/src/server/org/opends/server/core/SearchOperation.java
@@ -2097,11 +2097,20 @@
    processingStopTime = System.currentTimeMillis();
    // Send the search result done message to the client.
    // If everything is successful to this point and it is not a persistent
    // search, then send the search result done message to the client.
    // Otherwise, we'll want to make the size and time limit values unlimited
    // to ensure that the remainder of the persistent search isn't subject to
    // those restrictions.
    if (sendResponse)
    {
      sendSearchResultDone();
    }
    else
    {
      sizeLimit = 0;
      timeLimit = 0;
    }
  }