]> git.ipfire.org Git - thirdparty/bind9.git/commit
Implement TCP manual read timer control functionality
authorArtem Boldariev <artem@isc.org>
Wed, 4 Sep 2024 15:53:35 +0000 (18:53 +0300)
committerAndoni Duarte <andoni@isc.org>
Wed, 15 Jan 2025 15:34:43 +0000 (15:34 +0000)
commita67b3255426160c55faa9d1d3aa6e7579439b2b4
tree9f41324cddb4709c3c51a94611f2fbf98d934e01
parentc6e6a7af8ac6b575dd3657b0f5cf4248d734c2b0
Implement TCP manual read timer control functionality

This commit adds a manual TCP read timer control mode which is
supposed to override automatic resetting of the timer when any data is
received. That can be accomplished by
`isc__nmhandle_set_manual_timer()`.

This functionality is supposed to be used by multilevel networking
transports which require finer grained control over the read
timer (TLS Stream, DoH).

The commit is essentially an implementation of the functionality from
newer versions of BIND.
lib/isc/netmgr/netmgr-int.h
lib/isc/netmgr/netmgr.c
lib/isc/netmgr/tcp.c