You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2016/09/16 20:59:56 UTC
[trafficserver] branch master updated: Remove overly verbose SSL
diagnostics.
This is an automated email from the ASF dual-hosted git repository.
jpeach pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new d4ad513 Remove overly verbose SSL diagnostics.
d4ad513 is described below
commit d4ad513619d82c88115b837a40c9389e95ae5667
Author: James Peach <jp...@apache.org>
AuthorDate: Fri Sep 16 13:58:27 2016 -0700
Remove overly verbose SSL diagnostics.
---
iocore/net/SSLNetVConnection.cc | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/iocore/net/SSLNetVConnection.cc b/iocore/net/SSLNetVConnection.cc
index 46d53ac..de4dd48 100644
--- a/iocore/net/SSLNetVConnection.cc
+++ b/iocore/net/SSLNetVConnection.cc
@@ -193,7 +193,6 @@ ssl_read_from_net(SSLNetVConnection *sslvc, EThread *lthread, int64_t &ret)
int64_t nread = 0;
bool trace = sslvc->getSSLTrace();
- Debug("ssl", "trace=%s", trace ? "TRUE" : "FALSE");
bytes_read = 0;
while (sslErr == SSL_ERROR_NONE) {
@@ -659,7 +658,6 @@ SSLNetVConnection::load_buffer_and_write(int64_t towrite, MIOBufferAccessor &buf
}
bool trace = getSSLTrace();
- Debug("ssl", "trace=%s", trace ? "TRUE" : "FALSE");
do {
// What is remaining left in the next block?
@@ -949,6 +947,7 @@ SSLNetVConnection::sslStartHandShake(int event, int &err)
// to negotiate a SSL session, but it's enough to trampoline us into the SNI callback where we
// can select the right server certificate.
this->ssl = make_ssl_connection(lookup->defaultContext(), this);
+
#if !(TS_USE_TLS_SNI)
// set SSL trace
if (SSLConfigParams::ssl_wire_trace_enabled) {
@@ -1055,7 +1054,6 @@ SSLNetVConnection::sslServerHandShakeEvent(int &err)
ssl_error_t ssl_error = SSLAccept(ssl);
bool trace = getSSLTrace();
- Debug("ssl", "trace=%s", trace ? "TRUE" : "FALSE");
if (ssl_error != SSL_ERROR_NONE) {
err = errno;
@@ -1220,13 +1218,11 @@ SSLNetVConnection::sslClientHandShakeEvent(int &err)
SSL_INCREMENT_DYN_STAT(ssl_sni_name_set_failure);
}
}
-
#endif
SSL_set_ex_data(ssl, get_ssl_client_data_index(), this);
ssl_error_t ssl_error = SSLConnect(ssl);
bool trace = getSSLTrace();
- Debug("ssl", "trace=%s", trace ? "TRUE" : "FALSE");
switch (ssl_error) {
case SSL_ERROR_NONE:
--
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].