diff options
author | Anthony Neal <aneal@zeroc.com> | 2002-10-29 18:44:20 +0000 |
---|---|---|
committer | Anthony Neal <aneal@zeroc.com> | 2002-10-29 18:44:20 +0000 |
commit | 8597953fa6e03ab064f536ce7056628fb54b8674 (patch) | |
tree | c4c2129f39ca2cfa99f1f8335ee12f534f32fff4 /cpp/src/IceSSL/SslConnector.cpp | |
parent | Minor fixes. (diff) | |
download | ice-8597953fa6e03ab064f536ce7056628fb54b8674.tar.bz2 ice-8597953fa6e03ab064f536ce7056628fb54b8674.tar.xz ice-8597953fa6e03ab064f536ce7056628fb54b8674.zip |
Implemented connect-time handshaking.
Diffstat (limited to 'cpp/src/IceSSL/SslConnector.cpp')
-rw-r--r-- | cpp/src/IceSSL/SslConnector.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/src/IceSSL/SslConnector.cpp b/cpp/src/IceSSL/SslConnector.cpp index 42f57f351c0..e05c56704b9 100644 --- a/cpp/src/IceSSL/SslConnector.cpp +++ b/cpp/src/IceSSL/SslConnector.cpp @@ -48,7 +48,11 @@ IceSSL::SslConnector::connect(int timeout) logger->trace(traceLevels->networkCat, s.str()); } - return _plugin->createTransceiver(IceSSL::Client, fd); + SslTransceiverPtr transceiver = _plugin->createTransceiver(IceSSL::Client, fd, timeout); + + transceiver->forceHandshake(); + + return transceiver; } string |