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 | 57148bfcd0a0fe1e7e497b8b3f0adf6c71abf154 (patch) | |
tree | 1a0d09adc5ab7ff774b59ca8f8f705754f0330f0 | |
parent | c5f5494c087a0eea305163c4cc5249458df704b0 (diff) | |
download | qpid-python-57148bfcd0a0fe1e7e497b8b3f0adf6c71abf154.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/qpid@1686476 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | cpp/src/qpid/messaging/amqp/ConnectionContext.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp b/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp index 8947f5dce0..1b8c848941 100644 --- a/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp +++ b/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; |