diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-30 02:49:39 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-30 02:49:39 +0000 |
commit | a8f8cc6ab1a1b3c15f6396471bd3817ed2fcf45e (patch) | |
tree | b9f809216f895564c90c046f072911dce3d4ee77 /dnsdist-doh-common.cc | |
parent | Adding upstream version 1.9.3. (diff) | |
download | dnsdist-bb78225772582115229d10689a525698ff3c0e4b.tar.xz dnsdist-bb78225772582115229d10689a525698ff3c0e4b.zip |
Adding upstream version 1.9.4.upstream/1.9.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dnsdist-doh-common.cc')
-rw-r--r-- | dnsdist-doh-common.cc | 4 |
1 files changed, 3 insertions, 1 deletions
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() |