summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-03-25 13:21:45 +0000
committerAlan Conway <aconway@apache.org>2010-03-25 13:21:45 +0000
commit3232acde586982e94b6ecd860e3930b6aefe3e69 (patch)
treed130dc3a2d20451897e224d7cc3f9dd8a067683b /cpp/src
parent44b1e15a0d200024eb48515d01dc541eb483cd34 (diff)
downloadqpid-python-3232acde586982e94b6ecd860e3930b6aefe3e69.tar.gz
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
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/cluster/UpdateClient.cpp5
1 files changed, 4 insertions, 1 deletions
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,