You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by lq...@apache.org on 2016/09/08 14:22:36 UTC

svn commit: r1759837 - /qpid/java/branches/6.0.x/broker-plugins/amqp-0-8-protocol/src/main/java/org/apache/qpid/server/protocol/v0_8/Pre0_10CreditManager.java

Author: lquack
Date: Thu Sep  8 14:22:35 2016
New Revision: 1759837

URL: http://svn.apache.org/viewvc?rev=1759837&view=rev
Log:
QPID-7387: [Java Broker] 0-8..0-91 Correct handling of consumer credit (minimal fix)

Modified:
    qpid/java/branches/6.0.x/broker-plugins/amqp-0-8-protocol/src/main/java/org/apache/qpid/server/protocol/v0_8/Pre0_10CreditManager.java

Modified: qpid/java/branches/6.0.x/broker-plugins/amqp-0-8-protocol/src/main/java/org/apache/qpid/server/protocol/v0_8/Pre0_10CreditManager.java
URL: http://svn.apache.org/viewvc/qpid/java/branches/6.0.x/broker-plugins/amqp-0-8-protocol/src/main/java/org/apache/qpid/server/protocol/v0_8/Pre0_10CreditManager.java?rev=1759837&r1=1759836&r2=1759837&view=diff
==============================================================================
--- qpid/java/branches/6.0.x/broker-plugins/amqp-0-8-protocol/src/main/java/org/apache/qpid/server/protocol/v0_8/Pre0_10CreditManager.java (original)
+++ qpid/java/branches/6.0.x/broker-plugins/amqp-0-8-protocol/src/main/java/org/apache/qpid/server/protocol/v0_8/Pre0_10CreditManager.java Thu Sep  8 14:22:35 2016
@@ -134,7 +134,7 @@ public class Pre0_10CreditManager extend
         }
         else if(_messageCreditLimit != 0L)
         {
-            if(_messageCredit != 0L)
+            if(_messageCredit > 0L)
             {
                 if(_bytesCreditLimit == 0L)
                 {



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