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 | f264fc8302e7ed56468c5eb56da26ad93883ade2 (patch) | |
| tree | 9b1371b9166a28dfc2fce6116df936cb43256ebc /cpp/src | |
| parent | 31c0b4952cbbeb193ad0e238972c2ba6bde7aabb (diff) | |
| download | qpid-python-f264fc8302e7ed56468c5eb56da26ad93883ade2.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/qpid@1591470 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
| -rw-r--r-- | cpp/src/qpid/messaging/amqp/ConnectionContext.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<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(); } } |
