]> git.ipfire.org Git - thirdparty/bind9.git/commit
Properly handle outer TCP connection closed in TCPDNS.
authorWitold Kręcicki <wpk@isc.org>
Tue, 27 Oct 2020 09:09:30 +0000 (10:09 +0100)
committerOndřej Surý <ondrej@isc.org>
Thu, 29 Oct 2020 11:32:25 +0000 (12:32 +0100)
commitc41ce8e0c94ba9cc6bf18d4bbbcc977af93afbf2
tree4996d88dd849586d8096867896314401f4df3812
parent0241d9ddc87422ed5d138a699026e2dbe3fa4301
Properly handle outer TCP connection closed in TCPDNS.

If the connection is closed while we're processing the request
we might access TCPDNS outerhandle which is already reset. Check
for this condition and call the callback with ISC_R_CANCELED result.
lib/isc/netmgr/tcpdns.c