From 065c1ae206bec7f9dcdd394f5fe06ab8e4005655 Mon Sep 17 00:00:00 2001
From: ludovicp <ludovicp@localhost>
Date: Mon, 07 Jun 2010 09:12:48 +0000
Subject: [PATCH] Fix issue #2748. This patch changes the place where messages are logged to ensure correct ordering: - Request handler now logs the connect messages before registering the read interest. - Worker threads logs the response messages before sending it to the client.
---
opends/src/server/org/opends/server/core/BindOperationBasis.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opends/src/server/org/opends/server/core/BindOperationBasis.java b/opends/src/server/org/opends/server/core/BindOperationBasis.java
index 44e8797..07a7ff9 100644
--- a/opends/src/server/org/opends/server/core/BindOperationBasis.java
+++ b/opends/src/server/org/opends/server/core/BindOperationBasis.java
@@ -22,7 +22,7 @@
* CDDL HEADER END
*
*
- * Copyright 2007-2009 Sun Microsystems, Inc.
+ * Copyright 2007-2010 Sun Microsystems, Inc.
*/
package org.opends.server.core;
import org.opends.messages.Message;
@@ -836,6 +836,9 @@
// Stop the processing timer.
setProcessingStopTime();
+ // Log the bind response.
+ logBindResponse(this);
+
// Send the bind response to the client.
clientConnection.sendResponse(this);
@@ -848,9 +851,6 @@
clientConnection.finishBindOrStartTLS();
- // Log the bind response.
- logBindResponse(this);
-
// Invoke the post-response bind plugins.
invokePostResponsePlugins(workflowExecuted);
}
--
Gitblit v1.10.0