diff options
author | Marc Laukien <marc@zeroc.com> | 2003-01-31 15:26:55 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2003-01-31 15:26:55 +0000 |
commit | 67f771ce63b6cb4c0ffc3b7ab775e0034fde8c30 (patch) | |
tree | 2d20a9e07b91a11f4b0c9b90fa542a40c63be9fe /cpp/src/IceSSL/OpenSSLPluginI.cpp | |
parent | c->z (diff) | |
download | ice-67f771ce63b6cb4c0ffc3b7ab775e0034fde8c30.tar.bz2 ice-67f771ce63b6cb4c0ffc3b7ab775e0034fde8c30.tar.xz ice-67f771ce63b6cb4c0ffc3b7ab775e0034fde8c30.zip |
fix
Diffstat (limited to 'cpp/src/IceSSL/OpenSSLPluginI.cpp')
-rw-r--r-- | cpp/src/IceSSL/OpenSSLPluginI.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cpp/src/IceSSL/OpenSSLPluginI.cpp b/cpp/src/IceSSL/OpenSSLPluginI.cpp index 1e48b64e6ab..db30d7719d6 100644 --- a/cpp/src/IceSSL/OpenSSLPluginI.cpp +++ b/cpp/src/IceSSL/OpenSSLPluginI.cpp @@ -183,7 +183,6 @@ IceSSL::OpenSSLPluginI::OpenSSLPluginI(const ProtocolPluginFacadePtr& protocolPl _protocolPluginFacade(protocolPluginFacade), _traceLevels(new TraceLevels(_protocolPluginFacade)), _logger(_protocolPluginFacade->getCommunicator()->getLogger()), - _stats(_protocolPluginFacade->getCommunicator()->getStats()), _properties(_protocolPluginFacade->getCommunicator()->getProperties()), _serverContext(new TraceLevels(protocolPluginFacade), protocolPluginFacade->getCommunicator()->getLogger(), @@ -714,7 +713,11 @@ IceSSL::OpenSSLPluginI::getLogger() const StatsPtr IceSSL::OpenSSLPluginI::getStats() const { - return _stats; + // + // Don't cache the stats object. It might not be set on the + // communicator when the plug-in is initialized. + // + return _protocolPluginFacade->getCommunicator()->getStats(); } PropertiesPtr |