]> git.ipfire.org Git - thirdparty/bind9.git/commit
TLS Stream: use ISC_R_CANCELLED error when shutting down
authorArtem Boldariev <artem@boldariev.com>
Thu, 27 Oct 2022 18:16:36 +0000 (21:16 +0300)
committerArtem Boldariev <artem@boldariev.com>
Wed, 30 Nov 2022 16:09:52 +0000 (18:09 +0200)
commitef659365ce789a68f82478217e2398d8aebea668
tree5af815eeabf4ad7f817b5a7542bf89cd4428253b
parentfb9955a372e605b3b8999161977f1d72362ffa68
TLS Stream: use ISC_R_CANCELLED error when shutting down

This commit changes ISC_R_NOTCONNECTED error code to ISC_R_CANCELLED
when attempting to start reading data on the shutting down socket in
order to make its behaviour compatible with that of TCP and not break
the common code in the unit tests.
lib/isc/netmgr/tlsstream.c