summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ConnectionFactory.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2013-09-06 20:34:24 +0200
committerJose <jose@zeroc.com>2013-09-06 20:34:24 +0200
commit04c50d9f30c93721f5ffcaf90847e60d86a4be0a (patch)
tree636b90c3e2cafa2e0754e93de8f47794623af065 /cpp/src/Ice/ConnectionFactory.cpp
parentFix parseProtocols to support Tls1.1, Tls1.2 with .NET 4.5 (diff)
downloadice-04c50d9f30c93721f5ffcaf90847e60d86a4be0a.tar.bz2
ice-04c50d9f30c93721f5ffcaf90847e60d86a4be0a.tar.xz
ice-04c50d9f30c93721f5ffcaf90847e60d86a4be0a.zip
Fixed ICE-5416 - for C++/C#
Diffstat (limited to 'cpp/src/Ice/ConnectionFactory.cpp')
-rw-r--r--cpp/src/Ice/ConnectionFactory.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/cpp/src/Ice/ConnectionFactory.cpp b/cpp/src/Ice/ConnectionFactory.cpp
index 45f2cc76e37..60534489cd9 100644
--- a/cpp/src/Ice/ConnectionFactory.cpp
+++ b/cpp/src/Ice/ConnectionFactory.cpp
@@ -1539,11 +1539,9 @@ IceInternal::IncomingConnectionFactory::connectionStartFailed(const Ice::Connect
return;
}
- if(_warn && !dynamic_cast<const Ice::SocketException*>(&ex))
- {
- Warning out(_instance->initializationData().logger);
- out << "connection exception:\n" << ex << '\n' << _acceptor->toString();
- }
+ //
+ // Do not warn about connection exceptions here. The connection is not yet validated.
+ //
}
//