From a8f8cc6ab1a1b3c15f6396471bd3817ed2fcf45e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 30 May 2024 04:49:39 +0200 Subject: Adding upstream version 1.9.4. Signed-off-by: Daniel Baumann --- dnsdist-doh-common.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dnsdist-doh-common.cc') diff --git a/dnsdist-doh-common.cc b/dnsdist-doh-common.cc index 71cd87c..dcbd183 100644 --- a/dnsdist-doh-common.cc +++ b/dnsdist-doh-common.cc @@ -115,7 +115,9 @@ size_t DOHFrontend::getTicketsKeysCount() void DOHFrontend::reloadCertificates() { - d_tlsContext.setupTLS(); + if (isHTTPS()) { + d_tlsContext.setupTLS(); + } } void DOHFrontend::setup() -- cgit v1.2.3