]> git.ipfire.org Git - thirdparty/bind9.git/commit
Throttle reading from TCP if the sends are not getting through
authorOndřej Surý <ondrej@isc.org>
Thu, 18 Jan 2024 16:24:22 +0000 (17:24 +0100)
committerNicki Křížek <nicki@isc.org>
Mon, 10 Jun 2024 14:48:52 +0000 (16:48 +0200)
commit4e7c4af17ff2d50eb44eb2511c784e3d90883908
tree96d2f90aea457fae52d9e392f57922e1ab8464ef
parentd3609b742dc7e50ef9ebbf61bf016cbc58303e29
Throttle reading from TCP if the sends are not getting through

When TCP client would not read the DNS message sent to them, the TCP
sends inside named would accumulate and cause degradation of the
service.  Throttle the reading from the TCP socket when we accumulate
enough DNS data to be sent.  Currently this is limited in a way that a
single largest possible DNS message can fit into the buffer.
lib/isc/netmgr/netmgr-int.h
lib/isc/netmgr/netmgr.c
lib/isc/netmgr/tcp.c