diff options
author | Anthony Neal <aneal@zeroc.com> | 2001-11-27 14:20:30 +0000 |
---|---|---|
committer | Anthony Neal <aneal@zeroc.com> | 2001-11-27 14:20:30 +0000 |
commit | 69626b9aae5fa3d8d84fedb09b3c862d108edf95 (patch) | |
tree | f6bce22d25cbfcfb6e843e2d2c49c3c2a7a35b2d /cpp/src/Ice/SslConnectionOpenSSL.cpp | |
parent | Bug fixes. Added name to NoSuchTopic & TopicExists. Attempting to subscribe (diff) | |
download | ice-69626b9aae5fa3d8d84fedb09b3c862d108edf95.tar.bz2 ice-69626b9aae5fa3d8d84fedb09b3c862d108edf95.tar.xz ice-69626b9aae5fa3d8d84fedb09b3c862d108edf95.zip |
Updated the SSL Connections to perform proper network tracing against
networkCat instead of securityCat. Updated AllTests.cpp in operations
to remove the output line that shows the reference.
Diffstat (limited to 'cpp/src/Ice/SslConnectionOpenSSL.cpp')
-rw-r--r-- | cpp/src/Ice/SslConnectionOpenSSL.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/cpp/src/Ice/SslConnectionOpenSSL.cpp b/cpp/src/Ice/SslConnectionOpenSSL.cpp index a17ab2f9197..8e55d10742f 100644 --- a/cpp/src/Ice/SslConnectionOpenSSL.cpp +++ b/cpp/src/Ice/SslConnectionOpenSSL.cpp @@ -419,12 +419,13 @@ IceSecurity::Ssl::OpenSSL::Connection::readSSL(Buffer& buf, int timeout) { if (bytesRead > 0) { - ostringstream s; - - s << "received " << bytesRead << " of " << packetSize; - s << " bytes via SSL\n" << fdToString(SSL_get_fd(_sslConnection)); - - ICE_PROTOCOL(s.str()); + if (_traceLevels->network >= 3)
+ {
+ ostringstream s; + s << "received " << bytesRead << " of " << packetSize; + s << " bytes via ssl\n" << fdToString(SSL_get_fd(_sslConnection)); + _logger->trace(_traceLevels->networkCat, s.str());
+ }
totalBytesRead += bytesRead; |