diff options
| author | Gordon Sim <gsim@apache.org> | 2014-04-30 20:14:50 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2014-04-30 20:14:50 +0000 |
| commit | 829eaadb29b1a0806ed87bca54b610c703941f09 (patch) | |
| tree | 6659282f11503c3f27aff198d25b2824b9eb0ae5 /qpid/cpp | |
| parent | 935c44e8b502304cec0830bb09099c27c3ed07bb (diff) | |
| download | qpid-python-829eaadb29b1a0806ed87bca54b610c703941f09.tar.gz | |
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
Diffstat (limited to 'qpid/cpp')
| -rw-r--r-- | qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<SessionContext> 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<SessionContext> ssn) while (!ssn->settled()) { QPID_LOG(debug, "Waiting for sends to settle before closing"); wait(ssn);//wait until message has been confirmed + wakeupDriver(); } } |
