diff options
| author | Gordon Sim <gsim@apache.org> | 2012-11-27 18:02:06 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2012-11-27 18:02:06 +0000 |
| commit | 90db1443d090ddecea5e381fc1671520503431f3 (patch) | |
| tree | 5c41b3e029b660eadca7f0b5842457c98b4b52a9 /cpp | |
| parent | 3c0a21570e4c07df3240a513323c478ca08751cd (diff) | |
| download | qpid-python-90db1443d090ddecea5e381fc1671520503431f3.tar.gz | |
QPID-4478: wakeup driver after setting credit
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1414291 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
| -rw-r--r-- | cpp/src/qpid/messaging/amqp/ConnectionContext.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp b/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp index b300fee450..b2a9b979b6 100644 --- a/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp +++ b/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp @@ -343,6 +343,7 @@ void ConnectionContext::setCapacity(boost::shared_ptr<ReceiverContext> receiver, qpid::sys::ScopedLock<qpid::sys::Monitor> l(lock); receiver->setCapacity(capacity); pn_link_flow((pn_link_t*) receiver->receiver, receiver->getCapacity()); + wakeupDriver(); } uint32_t ConnectionContext::getCapacity(boost::shared_ptr<ReceiverContext> receiver) { |
