]> git.ipfire.org Git - thirdparty/bind9.git/commit
Use ISC_R_SHUTTINGDOWN to detect netmgr shutting down
authorOndřej Surý <ondrej@isc.org>
Tue, 11 Jan 2022 13:27:28 +0000 (14:27 +0100)
committerOndřej Surý <ondrej@isc.org>
Thu, 13 Jan 2022 08:14:12 +0000 (09:14 +0100)
commitdbd9c313541480cffe88bb9aa463567c6ad35859
treeb748e6ade220bc97c34144744af75e594b1f8a6f
parenta6a09385ee413738dc478dd03c1f46a7e0a16fb1
Use ISC_R_SHUTTINGDOWN to detect netmgr shutting down

When the dispatch code was refactored in libdns, the netmgr was changed
to return ISC_R_SHUTTINGDOWN when the netmgr is shutting down, and the
ISC_R_CANCELED is now reserved only for situation where the callback was
canceled by the caller.

This change wasn't reflected in the controlconf.c channel which was
still looking for ISC_R_CANCELED as the shutdown event.
bin/named/controlconf.c
lib/isccc/ccmsg.c