summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/Connection.cpp
diff options
context:
space:
mode:
authorMichael Goulish <mgoulish@apache.org>2012-01-05 14:56:52 +0000
committerMichael Goulish <mgoulish@apache.org>2012-01-05 14:56:52 +0000
commitae66de1155adb70f1b55e18bc096e3e107489a5d (patch)
tree485ffc501cec50b80146bf2e449d9b279d663f06 /cpp/src/qpid/cluster/Connection.cpp
parent47b2ee30c1a05389f605ee90e2dfd9d19fe00101 (diff)
downloadqpid-python-ae66de1155adb70f1b55e18bc096e3e107489a5d.tar.gz
QPID-3438
Remove unnecessary changes to broker. The cluster code does not really need to know that the cnx error was due to auth failure. Any failure before the cnx has opened should cause the cnx to be removed from the 'local' map, or a cnx leak will occur. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1227616 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Connection.cpp')
-rw-r--r--cpp/src/qpid/cluster/Connection.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/cpp/src/qpid/cluster/Connection.cpp b/cpp/src/qpid/cluster/Connection.cpp
index 88a2806877..f77b6fc748 100644
--- a/cpp/src/qpid/cluster/Connection.cpp
+++ b/cpp/src/qpid/cluster/Connection.cpp
@@ -742,9 +742,7 @@ void Connection::connectionError(const std::string& msg) {
cluster.flagError(*this, ERROR_TYPE_CONNECTION, msg);
}
else
- if ( connection->securityFailure() ) {
cluster.eraseLocal(self);
- }
}
void Connection::addQueueListener(const std::string& q, uint32_t listener) {