From: Charles-Henri Bruyand Date: Mon, 4 Dec 2023 08:58:18 +0000 (+0100) Subject: dnsdist: doh3, appease the CI folks X-Git-Tag: dnsdist-1.9.0-alpha4~15^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38b4da0a024abda03a441221a6f1eed58d8a576b;p=thirdparty%2Fpdns.git dnsdist: doh3, appease the CI folks --- diff --git a/pdns/dnsdistdist/docs/guides/dns-over-http3.rst b/pdns/dnsdistdist/docs/guides/dns-over-http3.rst index a5c54431c2..2824069ed4 100644 --- a/pdns/dnsdistdist/docs/guides/dns-over-http3.rst +++ b/pdns/dnsdistdist/docs/guides/dns-over-http3.rst @@ -1,5 +1,5 @@ DNS-over-HTTP/3 (DoH3) -==================== +====================== :program:`dnsdist` supports DNS-over-HTTP/3 (DoH3) for incoming queries since 1.9.0. To see if the installation supports this, run ``dnsdist --version``. diff --git a/pdns/dnsdistdist/doh3.cc b/pdns/dnsdistdist/doh3.cc index 71593f007d..02a2ea928c 100644 --- a/pdns/dnsdistdist/doh3.cc +++ b/pdns/dnsdistdist/doh3.cc @@ -100,7 +100,6 @@ struct DOH3ServerConfig DOH3Frontend::DOH3Frontend() = default; DOH3Frontend::~DOH3Frontend() = default; - class DOH3TCPCrossQuerySender final : public TCPQuerySender { public: diff --git a/pdns/dnsdistdist/doq-common.cc b/pdns/dnsdistdist/doq-common.cc index c06ef49622..211928aee5 100644 --- a/pdns/dnsdistdist/doq-common.cc +++ b/pdns/dnsdistdist/doq-common.cc @@ -26,7 +26,8 @@ #ifdef HAVE_DNS_OVER_QUIC -namespace dnsdist::doq { +namespace dnsdist::doq +{ static const std::string s_quicRetryTokenKey = newKey(false); diff --git a/pdns/dnsdistdist/doq-common.hh b/pdns/dnsdistdist/doq-common.hh index 53552c34fe..6fac2a3a81 100644 --- a/pdns/dnsdistdist/doq-common.hh +++ b/pdns/dnsdistdist/doq-common.hh @@ -84,7 +84,6 @@ static constexpr size_t LOCAL_CONN_ID_LEN = 16; static constexpr std::array DOQ_ALPN{'\x03', 'd', 'o', 'q'}; static constexpr std::array DOH3_ALPN{'\x02', 'h', '3'}; - void fillRandom(PacketBuffer& buffer, size_t size); std::optional getCID(); PacketBuffer mintToken(const PacketBuffer& dcid, const ComboAddress& peer);