From 4b906b59d05d1de95dc97587ff9d2b42409e2ac0 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Fri, 4 Jun 2021 10:18:22 +0200 Subject: [PATCH] dnsdist: Remove left-over debug messages --- pdns/dnsdistdist/dnsdist-tcp-downstream.cc | 8 -------- 1 file changed, 8 deletions(-) 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); -- 2.47.2