]> git.ipfire.org Git - thirdparty/bind9.git/commit
Hold a catz reference while the update process is running
authorAram Sargsyan <aram@isc.org>
Tue, 21 Mar 2023 09:56:36 +0000 (09:56 +0000)
committerAram Sargsyan <aram@isc.org>
Tue, 21 Mar 2023 10:15:30 +0000 (10:15 +0000)
commitdc2b8bb1c970babe774dd32048ea182d74e8fb36
tree7b49261661a45d6c464bf65251c545a230c47411
parent714821bd5190437d9defc8f1af9d0da7f7a05420
Hold a catz reference while the update process is running

This should delay the catalog zone from being destroyed during
shutdown, if the update process is still running.

Doing this should not introduce significant shutdown delays, as
the update function constantly checks the 'shuttingdown' flag
and cancels the process if it is set.
lib/dns/catz.c