3654. [bug] Address race condition with manual notify requests.
[RT #34806]
(cherry picked from commit 5116f25421)
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
3654. [bug] Address race condition with manual notify requests.
|
||||
[RT #34806]
|
||||
|
||||
3653. [func] Create delegations for all "children" of empty zones
|
||||
except "forward first". [RT #34826]
|
||||
|
||||
|
||||
+3
-3
@@ -11551,10 +11551,10 @@ zone_settimer(dns_zone_t *zone, isc_time_t *now) {
|
||||
isc_time_compare(&zone->refreshtime, &next) < 0)
|
||||
next = zone->refreshtime;
|
||||
}
|
||||
if (DNS_ZONE_FLAG(zone, DNS_ZONEFLG_LOADED)) {
|
||||
INSIST(!isc_time_isepoch(&zone->expiretime));
|
||||
if (DNS_ZONE_FLAG(zone, DNS_ZONEFLG_LOADED) &&
|
||||
!isc_time_isepoch(&zone->expiretime)) {
|
||||
if (isc_time_isepoch(&next) ||
|
||||
isc_time_compare(&zone->expiretime, &next) < 0)
|
||||
isc_time_compare(&zone->expiretime, &next) < 0)
|
||||
next = zone->expiretime;
|
||||
}
|
||||
if (DNS_ZONE_FLAG(zone, DNS_ZONEFLG_NEEDDUMP) &&
|
||||
|
||||
Reference in New Issue
Block a user