You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2012/11/27 19:02:07 UTC
svn commit: r1414291 -
/qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp
Author: gsim
Date: Tue Nov 27 18:02:06 2012
New Revision: 1414291
URL: http://svn.apache.org/viewvc?rev=1414291&view=rev
Log:
QPID-4478: wakeup driver after setting credit
Modified:
qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp
Modified: qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp?rev=1414291&r1=1414290&r2=1414291&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp Tue Nov 27 18:02:06 2012
@@ -343,6 +343,7 @@ void ConnectionContext::setCapacity(boos
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)
{
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org