From ae1d55f4272934e49477ffa255a1ddf5a1084bee Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 11 Apr 2011 15:11:06 +0000 Subject: QPID-3198: Clustered broker should exit on unknown connection. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1091097 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/cluster/Cluster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src') diff --git a/cpp/src/qpid/cluster/Cluster.cpp b/cpp/src/qpid/cluster/Cluster.cpp index d5486c1d7e..30d6a6d13f 100644 --- a/cpp/src/qpid/cluster/Cluster.cpp +++ b/cpp/src/qpid/cluster/Cluster.cpp @@ -537,7 +537,7 @@ void Cluster::processFrame(const EventFrame& e, Lock& l) { connection->deliveredFrame(e); } else - QPID_LOG(trace, *this << " DROP (no connection): " << e); + throw Exception(QPID_MSG("Unknown connection: " << e)); } else // Drop connection frames while state < CATCHUP QPID_LOG(trace, *this << " DROP (joining): " << e); -- cgit v1.2.1