]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add isc_nmhandle_setwritetimeout() function
authorOndřej Surý <ondrej@isc.org>
Wed, 9 Feb 2022 18:48:13 +0000 (19:48 +0100)
committerOndřej Surý <ondrej@isc.org>
Thu, 17 Feb 2022 10:26:16 +0000 (11:26 +0100)
commit1d0f2eb2c495a079101b6f6fd66ff22d95a4ab04
treed510185ecbd982e131a8a2fccd712c13cf8b853d
parent260b4c02cf3540e4a71b22f573958da24d89c7a2
Add isc_nmhandle_setwritetimeout() function

In some situations (unit test and forthcoming XFR timeouts MR), we need
to modify the write timeout independently of the read timeout.  Add a
isc_nmhandle_setwritetimeout() function that could be called before
isc_nm_send() to specify a custom write timeout interval.

(cherry picked from commit a89d9e0fa68b8d915c6a1c416543dd157d8b0b5a)
lib/isc/include/isc/netmgr.h
lib/isc/netmgr/netmgr.c
lib/isc/win32/libisc.def.in