From 6954daaed0c0f18b0e4897c6b8acb077eee51df1 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Tue, 27 Nov 2012 18:02:06 +0000 Subject: QPID-4478: wakeup driver after setting credit git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1414291 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qpid/cpp/src') 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 receiver, qpid::sys::ScopedLock l(lock); receiver->setCapacity(capacity); pn_link_flow((pn_link_t*) receiver->receiver, receiver->getCapacity()); + wakeupDriver(); } uint32_t ConnectionContext::getCapacity(boost::shared_ptr receiver) { -- cgit v1.2.1