]> git.ipfire.org Git - thirdparty/bind9.git/commit
Handle TCP sockets in isc__nmsocket_reset()
authorOndřej Surý <ondrej@isc.org>
Mon, 28 Feb 2022 09:25:06 +0000 (10:25 +0100)
committerOndřej Surý <ondrej@isc.org>
Mon, 28 Feb 2022 10:44:47 +0000 (11:44 +0100)
commitac5952aee8a6dbe38717b637d8476a625d25d91a
treeb0f3ae4a08f1cf9a28511cc2c51a8884f6728ee7
parent604a267054af0aab3c5c2a581818c29f3a7f83f3
Handle TCP sockets in isc__nmsocket_reset()

The isc__nmsocket_reset() was missing a case for raw TCP sockets (used
by RNDC and DoH) which would case a assertion failure when write timeout
would be triggered.

TCP sockets are now also properly handled in isc__nmsocket_reset().

(cherry picked from commit b220fb32bdb3c70f80b95d3611807deceab2bd55)
lib/isc/netmgr/netmgr.c