summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/SslTransceiver.cpp
diff options
context:
space:
mode:
authorAnthony Neal <aneal@zeroc.com>2002-09-13 16:08:45 +0000
committerAnthony Neal <aneal@zeroc.com>2002-09-13 16:08:45 +0000
commit13fdf316b7eb18e6d5eb3a4b39a2b6bde2c9dda9 (patch)
tree55926a6483ad89ea6f10f529016e04ddecf77e5b /cpp/src/IceSSL/SslTransceiver.cpp
parentNow logging uses LoggerUtil. (diff)
downloadice-13fdf316b7eb18e6d5eb3a4b39a2b6bde2c9dda9.tar.bz2
ice-13fdf316b7eb18e6d5eb3a4b39a2b6bde2c9dda9.tar.xz
ice-13fdf316b7eb18e6d5eb3a4b39a2b6bde2c9dda9.zip
Modifications required for cleaning up thread-specific error queues.
Diffstat (limited to 'cpp/src/IceSSL/SslTransceiver.cpp')
-rw-r--r--cpp/src/IceSSL/SslTransceiver.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/src/IceSSL/SslTransceiver.cpp b/cpp/src/IceSSL/SslTransceiver.cpp
index 39203caa8c0..a4f8ced9c08 100644
--- a/cpp/src/IceSSL/SslTransceiver.cpp
+++ b/cpp/src/IceSSL/SslTransceiver.cpp
@@ -107,6 +107,8 @@ IceSSL::SslTransceiver::read(Buffer& buf, int timeout)
{
assert(_fd != INVALID_SOCKET);
+ _plugin->registerThread();
+
int packetSize = buf.b.end() - buf.i;
int totalBytesRead = 0;
int bytesRead;
@@ -931,6 +933,7 @@ IceSSL::SslTransceiver::SslTransceiver(const OpenSSLPluginIPtr& plugin,
const CertificateVerifierPtr& certificateVerifier,
SSL* sslConnection) :
_sslConnection(sslConnection),
+ _plugin(plugin),
_traceLevels(plugin->getTraceLevels()),
_logger(plugin->getLogger()),
_fd(fd),