From ae66de1155adb70f1b55e18bc096e3e107489a5d Mon Sep 17 00:00:00 2001 From: Michael Goulish Date: Thu, 5 Jan 2012 14:56:52 +0000 Subject: 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 --- cpp/src/qpid/cluster/Connection.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'cpp/src/qpid/cluster/Connection.cpp') 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) { -- cgit v1.2.1