summaryrefslogtreecommitdiff
path: root/cpp/src
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
commitae1d55f4272934e49477ffa255a1ddf5a1084bee (patch)
tree6ea917a8374ad8ce4fa9223bbd073d13e1fa5b98 /cpp/src
parent395d41052006be863a12f0e081b79ba00172a8f8 (diff)
downloadqpid-python-ae1d55f4272934e49477ffa255a1ddf5a1084bee.tar.gz
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
Diffstat (limited to 'cpp/src')
-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 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);