]> git.ipfire.org Git - thirdparty/bind9.git/commit
clean up outerhandle when a tcpdns socket is disconnected
authorEvan Hunt <each@isc.org>
Sat, 20 Jun 2020 22:03:05 +0000 (15:03 -0700)
committerOndřej Surý <ondrej@isc.org>
Thu, 1 Oct 2020 14:44:43 +0000 (16:44 +0200)
commitca39572e5df48aaf67a3ef7888ab1c3d7462ebf3
tree0fe018b8cb878187689e5b4e48ed014153271f54
parentf64a881a302904c13d93e5b3c9e023f211520d7b
clean up outerhandle when a tcpdns socket is disconnected

this prevents a crash when some non-netmgr thread, such as a
recursive lookup, times out after the TCP socket is already
disconnected.

(cherry picked from commit 3704c4fff2757ade6dda56865aa87935d0c447b9)
lib/isc/netmgr/netmgr-int.h
lib/isc/netmgr/netmgr.c
lib/isc/netmgr/tcp.c
lib/isc/netmgr/tcpdns.c