From f264fc8302e7ed56468c5eb56da26ad93883ade2 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/qpid@1591470 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/messaging/amqp/ConnectionContext.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpp') diff --git a/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp b/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp index d78269e440..e8b0c6c18e 100644 --- a/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp +++ b/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