]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: usr: Limit the outgoing UDP send queue size
authorOndřej Surý <ondrej@isc.org>
Tue, 17 Sep 2024 14:02:16 +0000 (14:02 +0000)
committerOndřej Surý <ondrej@isc.org>
Tue, 17 Sep 2024 14:02:16 +0000 (14:02 +0000)
If the operating system UDP queue gets full and the outgoing UDP sending
starts to be delayed, BIND 9 could exhibit memory spikes as it tries to
enqueue all the outgoing UDP messages.  Try a bit harder to deliver the
outgoing UDP messages synchronously and if that fails, drop the outgoing
DNS message that would get queued up and then timeout on the client side.

Closes #4930

Merge branch '4930-limit-the-UDP-send-queue' into 'main'

See merge request isc-projects/bind9!9506


Trivial merge