]> git.ipfire.org Git - thirdparty/bind9.git/commit
replace per-protocol keepalive functions with a common one
authorEvan Hunt <each@isc.org>
Thu, 15 Jul 2021 04:12:37 +0000 (21:12 -0700)
committerEvan Hunt <each@isc.org>
Fri, 27 Aug 2021 17:02:10 +0000 (10:02 -0700)
commitfc6f751fbed1be60f2ae189e83d8158117a92f9a
treecd8ff9ec6eb6f40d639e22f439e7e2ec415590ec
parent7867b8b57d60d93da3f5f15f0a049fba5fbff35a
replace per-protocol keepalive functions with a common one

this commit removes isc__nm_tcpdns_keepalive() and
isc__nm_tlsdns_keepalive(); keepalive for these protocols and
for TCP will now be set directly from isc_nmhandle_keepalive().

protocols that have an underlying TCP socket (i.e., TLS stream
and HTTP), now have protocol-specific routines, called by
isc_nmhandle_keeaplive(), to set the keepalive value on the
underlying socket.
lib/isc/netmgr/http.c
lib/isc/netmgr/netmgr-int.h
lib/isc/netmgr/netmgr.c
lib/isc/netmgr/tcpdns.c
lib/isc/netmgr/tlsdns.c
lib/isc/netmgr/tlsstream.c