From 3232acde586982e94b6ecd860e3930b6aefe3e69 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 25 Mar 2010 13:21:45 +0000 Subject: Fix "Ignoring frame while closing connection" warnings in a cluster broker giving an update. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@927385 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/cluster/UpdateClient.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cpp/src') diff --git a/cpp/src/qpid/cluster/UpdateClient.cpp b/cpp/src/qpid/cluster/UpdateClient.cpp index ab992bf8cf..1b740158a4 100644 --- a/cpp/src/qpid/cluster/UpdateClient.cpp +++ b/cpp/src/qpid/cluster/UpdateClient.cpp @@ -399,7 +399,10 @@ void UpdateClient::updateSession(broker::SessionHandler& sh) { SequenceNumber received = ss->receiverGetReceived().command; if (inProgress) --received; - + + // Sync the session to ensure all responses from broker have been processed. + shadowSession.sync(); + // Reset command-sequence state. proxy.sessionState( ss->senderGetReplayPoint().command, -- cgit v1.2.1