From 829eaadb29b1a0806ed87bca54b610c703941f09 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Wed, 30 Apr 2014 20:14:50 +0000 Subject: QPID-5737: wakeup driver for output which may be necessary if sessions outgoing window has been moved forward by peer git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591470 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qpid/cpp') diff --git a/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp b/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp index d78269e440..e8b0c6c18e 100644 --- a/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp +++ b/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp @@ -130,6 +130,7 @@ void ConnectionContext::sync(boost::shared_ptr ssn) while (!ssn->settled()) { QPID_LOG(debug, "Waiting for sends to settle on sync()"); wait(ssn);//wait until message has been confirmed + wakeupDriver(); } checkClosed(ssn); } @@ -142,6 +143,7 @@ void ConnectionContext::endSession(boost::shared_ptr ssn) while (!ssn->settled()) { QPID_LOG(debug, "Waiting for sends to settle before closing"); wait(ssn);//wait until message has been confirmed + wakeupDriver(); } } -- cgit v1.2.1