bind9/bin
Aram Sargsyan fa974811a9
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.

(cherry picked from commit f4cd307c6b)
2025-05-28 19:18:19 +02:00
..
check Wait for memory reclamation to finish in named-checkconf 2025-03-25 11:00:00 +01:00
confgen Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
delv Change default max-recursion-queries to 50 2024-12-06 06:20:33 +00:00
dig Change the name and YAML format of EDNS UL 2025-05-07 00:00:10 -07:00
dnssec DNS_KEYTYPE_NOKEY is only applicable to KEY 2025-03-24 23:52:02 -07:00
named Implement a new 'notify-defer' configuration option 2025-05-16 09:58:48 +00:00
nsupdate Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
plugins Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
rndc Fix rndc reset-stats documentation 2025-04-03 16:19:12 +02:00
tests Emit a ISC_R_CANCELED result instead of ISC_R_SHUTTINGDOWN 2025-05-28 19:18:19 +02:00
tools Improve the badcache cleaning by adding LRU and using RCU 2024-11-27 17:07:03 +00:00
Makefile.am Remove native PKCS#11 support 2021-09-09 15:35:39 +02:00