mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-21 06:02:55 -05:00
zonemd, review comments, stop callback for a deleted zone.
This commit is contained in:
parent
d3b6e1679c
commit
e0f17c2443
1 changed files with 1 additions and 1 deletions
|
|
@ -8070,7 +8070,7 @@ void auth_zonemd_dnskey_lookup_callback(void* arg, int rcode, sldns_buffer* buf,
|
|||
/* release the env variable so another worker can pick up the
|
||||
* ZONEMD verification task if it wants to */
|
||||
z->zonemd_callback_env = NULL;
|
||||
if(!env || env->outnet->want_to_quit) {
|
||||
if(!env || env->outnet->want_to_quit || z->zone_deleted) {
|
||||
lock_rw_unlock(&z->lock);
|
||||
return; /* stop on quit */
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue