From 48f3197de5cbfe0cc0110d95b8d53e3d2c527fe4 Mon Sep 17 00:00:00 2001
From: Valery Kharseko <vharseko@3a-systems.ru>
Date: Mon, 30 Nov 2026 19:55:55 +0000
Subject: [PATCH] Preserve LDAP Search response order across Bind (#1350)

---
 opendj-server-legacy/src/main/java/org/opends/server/api/ClientConnection.java |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/api/ClientConnection.java b/opendj-server-legacy/src/main/java/org/opends/server/api/ClientConnection.java
index 376578b..555474d 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/api/ClientConnection.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/api/ClientConnection.java
@@ -644,6 +644,16 @@
    */
   public abstract boolean removeOperationInProgress(int messageID);
 
+  /**
+   * Removes a completed operation from this connection.
+   *
+   * @param operation The operation to remove.
+   * @return Whether the operation was removed.
+   */
+  public boolean removeOperationInProgress(Operation operation)
+  {
+    return removeOperationInProgress(operation.getMessageID());
+  }
 
 
   /**

--
Gitblit v1.10.0