]> git.ipfire.org Git - thirdparty/bind9.git/commit
add isc_nmhandle_settimeout() function
authorEvan Hunt <each@isc.org>
Tue, 3 Nov 2020 03:58:05 +0000 (19:58 -0800)
committerOndřej Surý <ondrej@sury.org>
Wed, 9 Dec 2020 09:46:16 +0000 (10:46 +0100)
commit4598d7b30d21aeb45a7bc22ef913c1b710b1edf5
treed4c20fb4571de18be98df96205aea1e94e81caee
parent5877befb51aa0ecbb34507004fb349e9a2d33138
add isc_nmhandle_settimeout() function

this function sets the read timeout for the socket associated
with a netmgr handle and, if the timer is running, resets it.
for TCPDNS sockets it also sets the read timeout and resets the
timer on the outer TCP socket.

(cherry picked from commit 4be63c5b00700f83a96da67cc092bb3b87efaf15)
lib/isc/include/isc/netmgr.h
lib/isc/netmgr/netmgr-int.h
lib/isc/netmgr/netmgr.c
lib/isc/netmgr/tcp.c
lib/isc/netmgr/tcpdns.c
lib/isc/netmgr/udp.c
lib/isc/win32/libisc.def.in