From: Remi Gacogne Date: Fri, 19 Nov 2021 08:53:26 +0000 (+0100) Subject: rec: Fix the size of the UDP receive buffer X-Git-Tag: dnsdist-1.7.0-beta2~14^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12c444bf53b392ac4b99adb3c96790f28ae2304f;p=thirdparty%2Fpdns.git rec: Fix the size of the UDP receive buffer --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 362be3973b..c801e8bcdf 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -3723,7 +3723,7 @@ static void makeUDPServerSockets(deferredAdd_t& deferredAdds) setCloseOnExec(fd); try { - setSocketReceiveBuffer(fd, 25000); + setSocketReceiveBuffer(fd, 250000); } catch (const std::exception& e) { g_log<