bind9/bin
Aram Sargsyan f4cd307c6b Emit a ISC_R_CANCELED result instead of ISC_R_SHUTTINGDOWN
When request manager shuts down, it also shuts down all its ongoing
requests. Currently it calls their callback functions with a
ISC_R_SHUTTINGDOWN result code for the request. Since a request
manager can shutdown not only during named shutdown but also during
named reconfiguration, instead of sending ISC_R_SHUTTINGDOWN result
code send a ISC_R_CANCELED code to avoid confusion and errors with
the expectation that a ISC_R_SHUTTINGDOWN result code can only be
received during actual shutdown of named.

All the callback functions which are passed to either the
dns_request_create() or the dns_request_createraw() functions have
been analyzed to confirm that they can process both the
ISC_R_SHUTTINGDOWN and ISC_R_CANCELED result codes. Changes were
made where it was necessary.
2025-05-28 16:20:13 +00:00
..
check add CFG_LIST_FOREACH macro 2025-05-27 21:08:09 -07:00
confgen Replace isc_mem_destroy() with isc_mem_detach() 2025-03-05 11:17:17 +01:00
delv add CFG_LIST_FOREACH macro 2025-05-27 21:08:09 -07:00
dig add DNS_RDATASET_FOREACH macro 2025-05-27 21:08:09 -07:00
dnssec add DNS_DBITERATOR_FOREACH and DNS_RDATASETITER_FOREACH 2025-05-27 21:08:09 -07:00
named add CFG_LIST_FOREACH macro 2025-05-27 21:08:09 -07:00
nsupdate make all ISC_LIST_FOREACH calls safe 2025-05-23 13:09:10 -07:00
plugins implicitly declare list elements in ISC_LIST_FOREACH macros 2025-03-31 13:37:47 -07:00
rndc add CFG_LIST_FOREACH macro 2025-05-27 21:08:09 -07:00
tests Emit a ISC_R_CANCELED result instead of ISC_R_SHUTTINGDOWN 2025-05-28 16:20:13 +00:00
tools add DNS_RDATASET_FOREACH macro 2025-05-27 21:08:09 -07:00
Makefile.am Remove native PKCS#11 support 2021-09-09 15:35:39 +02:00