]> git.ipfire.org Git - thirdparty/bind9.git/commit
Do not un-throttle TCP connections on isc_nm_read()
authorArtem Boldariev <artem@boldariev.com>
Tue, 11 Jun 2024 14:20:22 +0000 (17:20 +0300)
committerArtem Boldariev <artem@boldariev.com>
Wed, 12 Jun 2024 10:44:37 +0000 (13:44 +0300)
commit55b1a093ea97aa6d355dfc63dfc89f9c69a4fa4c
tree4c32c5ed469a0b20c69d461d145355a834270163
parentf149ecc81a34006ade2a02d1936ffbf7b1e45b12
Do not un-throttle TCP connections on isc_nm_read()

Due to omission it was possible to un-throttle a TCP connection
previously throttled due to the peer not reading back data we are
sending.

In particular, that affected DoH code, but it could also affect other
transports (the current or future ones) that pause/resume reading
according to its internal state.
lib/isc/netmgr/netmgr-int.h
lib/isc/netmgr/tcp.c