From 013087ae6398ee4a565deb88612f9cdf644b2bd7 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Fri, 19 Jun 2015 18:09:33 +0000 Subject: 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 --- qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp | 5 ----- 1 file changed, 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 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; -- cgit v1.2.1