summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/Cluster.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-02-10 21:42:10 +0000
committerAlan Conway <aconway@apache.org>2009-02-10 21:42:10 +0000
commitf6f6916d3a631240f08f9d9fedf5c3b5f71883aa (patch)
tree425e4f99c4355f15ff317dbe23d32a0ebafca2e5 /cpp/src/qpid/cluster/Cluster.cpp
parent4fb52cd93157ba10d82e656ce87051c7867e25f0 (diff)
downloadqpid-python-f6f6916d3a631240f08f9d9fedf5c3b5f71883aa.tar.gz
Fix cluster flow control bug: hang with large messages (>frame-max) and low --cluster-read-max.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@743114 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Cluster.cpp')
-rw-r--r--cpp/src/qpid/cluster/Cluster.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/cluster/Cluster.cpp b/cpp/src/qpid/cluster/Cluster.cpp
index be04eebc57..d9a5125760 100644
--- a/cpp/src/qpid/cluster/Cluster.cpp
+++ b/cpp/src/qpid/cluster/Cluster.cpp
@@ -103,7 +103,7 @@ Cluster::Cluster(const std::string& name_, const Url& url_, broker::Broker& b, b
"Error delivering frames",
poller),
connections(*this),
- decoder(boost::bind(&PollableFrameQueue::push, &deliverFrameQueue, _1)),
+ decoder(boost::bind(&PollableFrameQueue::push, &deliverFrameQueue, _1), connections),
expiryPolicy(new ExpiryPolicy(boost::bind(&Cluster::isLeader, this), mcast, myId, broker.getTimer())),
frameId(0),
initialized(false),