diff options
author | Gordon Sim <gsim@apache.org> | 2015-06-19 18:09:33 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2015-06-19 18:09:33 +0000 |
commit | 013087ae6398ee4a565deb88612f9cdf644b2bd7 (patch) | |
tree | 54b6e3ab9655943928ee18ddc455783e647441aa | |
parent | 364fd586acacc7d7fa237568463aefaa054e939e (diff) | |
download | qpid-python-013087ae6398ee4a565deb88612f9cdf644b2bd7.tar.gz |
QPID-6602: remove extraneous replenishment of credit (that is done by the call to get already)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1686476 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp b/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp index 8947f5dce0..1b8c848941 100644 --- a/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp +++ b/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp @@ -259,11 +259,6 @@ bool ConnectionContext::fetch(boost::shared_ptr<SessionContext> ssn, boost::shar } } if (get(ssn, lnk, message, qpid::messaging::Duration::IMMEDIATE)) { - sys::Monitor::ScopedLock l(lock); - if (lnk->capacity) { - pn_link_flow(lnk->receiver, 1); - wakeupDriver(); - } return true; } else { return false; |