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 2015/06/19 20:09:34 UTC

svn commit: r1686476 - /qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp

Author: gsim
Date: Fri Jun 19 18:09:33 2015
New Revision: 1686476

URL: http://svn.apache.org/r1686476
Log:
QPID-6602: remove extraneous replenishment of credit (that is done by the call to get already)

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=1686476&r1=1686475&r2=1686476&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp Fri Jun 19 18:09:33 2015
@@ -259,11 +259,6 @@ bool ConnectionContext::fetch(boost::sha
             }
         }
         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;



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org