]> git.ipfire.org Git - thirdparty/bind9.git/commit
DoH: Track the amount of in flight outgoing data
authorArtem Boldariev <artem@boldariev.com>
Thu, 13 Feb 2025 12:53:18 +0000 (14:53 +0200)
committerArtem Boldariev <artem@boldariev.com>
Wed, 19 Feb 2025 17:42:15 +0000 (19:42 +0200)
commit3c498245896452231c33a38c021ede8ae1622dcc
tree38b938da7b3b631a84bfd9dc2ac564cc4433d6ca
parentb732b1578c53075a71f780db09938d0a479cee6f
DoH: Track the amount of in flight outgoing data

Previously we would limit the amount of incoming data to process based
solely on the presence of not completed send requests. That worked,
however, it was found to severely degrade performance in certain
cases, as was revealed during extended testing.

Now we switch to keeping track of how much data is in flight (or ready
to be in flight) and limit the amount of processed incoming data when
the amount of in flight data surpasses the given threshold, similarly
to like we do in other transports.

(cherry picked from commit 05e8a508188116e8e367aaf5e68575c8cebb4207)
lib/isc/netmgr/http.c