summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/Context.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2005-06-14 17:00:21 +0000
committerMark Spruiell <mes@zeroc.com>2005-06-14 17:00:21 +0000
commit5344f3b20f8f0889c82b5fb124076f5894179437 (patch)
treef965fb6f7b70dbd96cac2cb637b4a578e936d3d7 /cpp/src/IceSSL/Context.cpp
parentAdded application name to all the tests Made test executable unique names (diff)
downloadice-5344f3b20f8f0889c82b5fb124076f5894179437.tar.bz2
ice-5344f3b20f8f0889c82b5fb124076f5894179437.tar.xz
ice-5344f3b20f8f0889c82b5fb124076f5894179437.zip
fix for bug 332: IceSSL: is handshake retry loop necessary?
Diffstat (limited to 'cpp/src/IceSSL/Context.cpp')
-rw-r--r--cpp/src/IceSSL/Context.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/cpp/src/IceSSL/Context.cpp b/cpp/src/IceSSL/Context.cpp
index 726007c8a34..e23f73866ac 100644
--- a/cpp/src/IceSSL/Context.cpp
+++ b/cpp/src/IceSSL/Context.cpp
@@ -609,26 +609,6 @@ IceSSL::Context::createSSLConnection(int socket)
}
void
-IceSSL::Context::transceiverSetup(const SslTransceiverPtr& transceiver, int timeout)
-{
- // This timeout is implemented once on the first read after hanshake.
- //
- // Note: This is here because of some strange issue where SSL sometimes has long pauses
- // during handshake which cause timeouts. If the IceSSL timeout is less than 5s,
- // there is a possibility (increasing in probability as you set the timeout lower)
- // that the handshake will faile due to a timeout.
- //
- transceiver->setHandshakeReadTimeout(timeout < 5000 ? 5000 : timeout);
-
- // Note: Likewise, because the handshake has to be completed by a single thread, we do
- // handshake retries in the Transceiver. This is obviously not what we'd like, but
- // this is due to the way the OpenSSL library handles handshaking.
- //
- int retries = _communicator->getProperties()->getPropertyAsIntWithDefault(_connectionHandshakeRetries, 10);
- transceiver->setHandshakeRetries(retries);
-}
-
-void
IceSSL::Context::setCipherList(const string& cipherList)
{
assert(_sslContext != 0);