diff options
author | Anthony Neal <aneal@zeroc.com> | 2001-12-05 14:21:37 +0000 |
---|---|---|
committer | Anthony Neal <aneal@zeroc.com> | 2001-12-05 14:21:37 +0000 |
commit | 06791cc88e39b51523399593eb2a33d93395d2d2 (patch) | |
tree | b4650d4b60870a4a90dcead43a06f86a03460155 /cpp/src/Ice/SslConnectionOpenSSL.cpp | |
parent | depend (diff) | |
download | ice-06791cc88e39b51523399593eb2a33d93395d2d2.tar.bz2 ice-06791cc88e39b51523399593eb2a33d93395d2d2.tar.xz ice-06791cc88e39b51523399593eb2a33d93395d2d2.zip |
Fixed a bug regarding the readSelect() timeout during handshake. My bad.
Diffstat (limited to 'cpp/src/Ice/SslConnectionOpenSSL.cpp')
-rw-r--r-- | cpp/src/Ice/SslConnectionOpenSSL.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/SslConnectionOpenSSL.cpp b/cpp/src/Ice/SslConnectionOpenSSL.cpp index 3b150bb3f49..9e982281e15 100644 --- a/cpp/src/Ice/SslConnectionOpenSSL.cpp +++ b/cpp/src/Ice/SslConnectionOpenSSL.cpp @@ -405,7 +405,7 @@ IceSecurity::Ssl::OpenSSL::Connection::readSSL(Buffer& buf, int timeout) if (init(timeout)) { bytesPending = pending(); - +
if (!bytesPending && readSelect(_readTimeout))
{
bytesPending = 1;
|