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 | 415f691ca3b48c8824aa2fbe88d75e3eb9cb4083 (patch) | |
tree | f81ebca12af11d3642f92c458f9faf3f30c552b0 /dnsdist-doh-common.cc | |
parent | Adding debian version 1.9.3-1. (diff) | |
download | dnsdist-415f691ca3b48c8824aa2fbe88d75e3eb9cb4083.tar.xz dnsdist-415f691ca3b48c8824aa2fbe88d75e3eb9cb4083.zip |
Merging upstream version 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() |