diff options
author | Gordon Sim <gsim@apache.org> | 2012-11-28 14:14:12 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2012-11-28 14:14:12 +0000 |
commit | b751f00c67f9f38de213cd28c63e09417d186d03 (patch) | |
tree | 02cb71b03e0fa0a74feb86cea43c6833f24672c2 | |
parent | f9cc7dd7258d49c8e9e22d8761e585d75ed36bf0 (diff) | |
download | qpid-python-b751f00c67f9f38de213cd28c63e09417d186d03.tar.gz |
QPID-4478: wakeup driver after setting credit
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.20@1414713 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp b/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp index b300fee450..b2a9b979b6 100644 --- a/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp +++ b/qpid/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) { |