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/28 15:14:12 UTC

svn commit: r1414713 - /qpid/branches/0.20/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp

Author: gsim
Date: Wed Nov 28 14:14:12 2012
New Revision: 1414713

URL: http://svn.apache.org/viewvc?rev=1414713&view=rev
Log:
QPID-4478: wakeup driver after setting credit

Modified:
    qpid/branches/0.20/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp

Modified: qpid/branches/0.20/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp
URL: http://svn.apache.org/viewvc/qpid/branches/0.20/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp?rev=1414713&r1=1414712&r2=1414713&view=diff
==============================================================================
--- qpid/branches/0.20/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp (original)
+++ qpid/branches/0.20/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp Wed Nov 28 14:14:12 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