summaryrefslogtreecommitdiff
path: root/qpid/cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2012-11-27 18:02:06 +0000
committerGordon Sim <gsim@apache.org>2012-11-27 18:02:06 +0000
commit6954daaed0c0f18b0e4897c6b8acb077eee51df1 (patch)
treeee9f8d3af5cfffa189aadca5cde960ee104da1fd /qpid/cpp
parent9d3dce95e1deadcc5cde6b03291c71c20d9457d2 (diff)
downloadqpid-python-6954daaed0c0f18b0e4897c6b8acb077eee51df1.tar.gz
QPID-4478: wakeup driver after setting credit
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1414291 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
-rw-r--r--qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp1
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)
{