]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Remove invalid static_assert in the DoH code (thanks Otto!)
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 25 Aug 2021 14:29:04 +0000 (16:29 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 26 Aug 2021 14:30:28 +0000 (16:30 +0200)
pdns/dnsdistdist/doh.cc

index fae4dbbe73fc4173f46d7f15ddd4e113e06a3714..c479db666c81cde7427ee747feca8f1b8e787d71 100644 (file)
@@ -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);