summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2011-04-11 15:11:06 +0000
committerAlan Conway <aconway@apache.org>2011-04-11 15:11:06 +0000
commite582afaf7d668a1acc1a13fb58fdfce486a15f30 (patch)
treece93886f391298a6289e71d19911a98fc4f94a8d
parentaeeeb299bd840a53a59ac930e44ffb7a997b28b6 (diff)
downloadqpid-python-e582afaf7d668a1acc1a13fb58fdfce486a15f30.tar.gz
QPID-3198: Clustered broker should exit on unknown connection.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1091097 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/cpp/src/qpid/cluster/Cluster.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/cluster/Cluster.cpp b/qpid/cpp/src/qpid/cluster/Cluster.cpp
index d5486c1d7e..30d6a6d13f 100644
--- a/qpid/cpp/src/qpid/cluster/Cluster.cpp
+++ b/qpid/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);