From 46b15e2c2f9e454fd7041f1e6ad723d093bee052 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Wed, 12 Sep 2007 14:49:12 +0000 Subject: In ClientChannel: Use subscribe and flush in place of get; use per-subscriber flow control for managing prefetches. In brokers Session: set credit to 0 when subscription is created (modified python tests accordingly) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@574979 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/Session.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/qpid/broker/Session.cpp') diff --git a/cpp/src/qpid/broker/Session.cpp b/cpp/src/qpid/broker/Session.cpp index 650182c807..c98fdd6291 100644 --- a/cpp/src/qpid/broker/Session.cpp +++ b/cpp/src/qpid/broker/Session.cpp @@ -251,8 +251,8 @@ Session::ConsumerImpl::ConsumerImpl(Session* _parent, acquire(_acquire), blocked(false), windowing(true), - msgCredit(0xFFFFFFFF), - byteCredit(0xFFFFFFFF) {} + msgCredit(0), + byteCredit(0) {} bool Session::ConsumerImpl::deliver(QueuedMessage& msg) { -- cgit v1.2.1