From: Remi Gacogne Date: Wed, 25 Aug 2021 14:29:04 +0000 (+0200) Subject: dnsdist: Remove invalid static_assert in the DoH code (thanks Otto!) X-Git-Tag: dnsdist-1.7.0-alpha1~45^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5309062b2636bdf3ff0d92ac169626bd376773cf;p=thirdparty%2Fpdns.git dnsdist: Remove invalid static_assert in the DoH code (thanks Otto!) --- diff --git a/pdns/dnsdistdist/doh.cc b/pdns/dnsdistdist/doh.cc index fae4dbbe73..c479db666c 100644 --- a/pdns/dnsdistdist/doh.cc +++ b/pdns/dnsdistdist/doh.cc @@ -1614,8 +1614,6 @@ void dohThread(ClientState* cs) void DOHUnit::handleUDPResponse(PacketBuffer&& udpResponse, IDState&& state) { - static_assert(sizeof(*this) <= PIPE_BUF, "Writes up to PIPE_BUF are guaranteed not to be interleaved and to either fully succeed or fail"); - response = std::move(udpResponse); ids = std::move(state);