From 729e9ce65125154cfdd2877abc8f7a901ad7caa2 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 3 Feb 2009 21:28:14 +0000 Subject: Fix for race conditions in cluster join. - ConnectionDecoder: separated from Connection. - cluster/PollableQueue: stop processing frames if PollableQueue is stopped. - move state checks in event-queue handler to frame-queue handler. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@740459 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/cluster/ConnectionCodec.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'cpp/src/qpid/cluster/ConnectionCodec.cpp') diff --git a/cpp/src/qpid/cluster/ConnectionCodec.cpp b/cpp/src/qpid/cluster/ConnectionCodec.cpp index 1334f97eec..442ac1438f 100644 --- a/cpp/src/qpid/cluster/ConnectionCodec.cpp +++ b/cpp/src/qpid/cluster/ConnectionCodec.cpp @@ -59,8 +59,6 @@ ConnectionCodec::ConnectionCodec(sys::OutputControl& out, const std::string& id, { std::auto_ptr ih(new ProxyInputHandler(interceptor)); codec.setInputHandler(ih); - if (!catchUp) // Don't put catchUp connections in the cluster map. - cluster.insert(interceptor); } ConnectionCodec::~ConnectionCodec() {} -- cgit v1.2.1