From: Remi Gacogne Date: Fri, 4 Jun 2021 08:18:22 +0000 (+0200) Subject: dnsdist: Remove left-over debug messages X-Git-Tag: dnsdist-1.7.0-alpha1~45^2~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b906b59d05d1de95dc97587ff9d2b42409e2ac0;p=thirdparty%2Fpdns.git dnsdist: Remove left-over debug messages --- diff --git a/pdns/dnsdistdist/dnsdist-tcp-downstream.cc b/pdns/dnsdistdist/dnsdist-tcp-downstream.cc index ecc2b7f513..560a26ebdb 100644 --- a/pdns/dnsdistdist/dnsdist-tcp-downstream.cc +++ b/pdns/dnsdistdist/dnsdist-tcp-downstream.cc @@ -16,7 +16,6 @@ TCPConnectionToBackend::~TCPConnectionToBackend() if (d_handler->hasTLSSessionBeenResumed()) { ++d_ds->tlsResumptions; } - cerr<<"Closing TLS connection, resumption was "<hasTLSSessionBeenResumed()<getTLSSession(); if (session) { g_sessionCache.putSession(d_ds->getID(), now.tv_sec, std::move(session)); @@ -334,7 +333,6 @@ bool TCPConnectionToBackend::reconnect() if (d_handler->hasTLSSessionBeenResumed()) { ++d_ds->tlsResumptions; } - cerr<<"is TLS, getting a session"<getTLSSession(); } d_handler->close(); @@ -376,12 +374,6 @@ bool TCPConnectionToBackend::reconnect() auto handler = std::make_unique(d_ds->d_tlsSubjectName, socket->releaseHandle(), timeval{0,0}, d_ds->d_tlsCtx, d_connectionStartTime.tv_sec); if (!tlsSession && d_ds->d_tlsCtx) { tlsSession = g_sessionCache.getSession(d_ds->getID(), d_connectionStartTime.tv_sec); - if (tlsSession) { - cerr<<"reusing session from cache"<setTLSSession(tlsSession);