diff options
author | Marc Laukien <marc@zeroc.com> | 2002-03-31 17:49:36 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-03-31 17:49:36 +0000 |
commit | 298c75218dcef2bf555ca326cde8d7dff780c8c5 (patch) | |
tree | f9bf1e7df61dd0773e3774a61534c15890daf604 /cpp/test/IceSSL/certificateVerification/Client.cpp | |
parent | fixing docu (diff) | |
download | ice-298c75218dcef2bf555ca326cde8d7dff780c8c5.tar.bz2 ice-298c75218dcef2bf555ca326cde8d7dff780c8c5.tar.xz ice-298c75218dcef2bf555ca326cde8d7dff780c8c5.zip |
connections are now released when the last proxy is destroyed
Diffstat (limited to 'cpp/test/IceSSL/certificateVerification/Client.cpp')
-rw-r--r-- | cpp/test/IceSSL/certificateVerification/Client.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/cpp/test/IceSSL/certificateVerification/Client.cpp b/cpp/test/IceSSL/certificateVerification/Client.cpp index 0d88003152b..4da05dbb4f2 100644 --- a/cpp/test/IceSSL/certificateVerification/Client.cpp +++ b/cpp/test/IceSSL/certificateVerification/Client.cpp @@ -51,12 +51,6 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) singleCertVerifier = true; } -/* - -// Note: This section is commented out because Ice is currently not destroying SslTransceivers -// properly, resulting in cached connections (which cause the expected failure sections -// to succeed, causing the test to fail). - if (!singleCertVerifier) { cout << "client and server trusted, client using stock certificate... "; @@ -69,16 +63,14 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) PingerPrx pinger = PingerPrx::checkedCast(communicator->stringToProxy(ref)); pinger->ping(); cout << "ok" << endl; - pinger = 0; } - catch(const Ice::LocalException& localEx) + catch(const Ice::LocalException& ex) { - cout << localEx << endl; + cout << ex << endl; km->shutdown(); test(false); } } -*/ properties->setProperty("Ice.SSL.Client.Config", "sslconfig_7.xml"); |