1707. [contrib] sdb/ldap updated to version 1.0-beta.
+1706. [bug] 'rndc stop' failed to cause zones to be flushed
+ sometimes. [RT #12328]
+
1701. [doc] A minimal named.conf man page.
1700. [func] nslookup is no longer to be treated as deprecated.
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: zone.c,v 1.333.2.23.2.47 2004/07/29 00:17:10 marka Exp $ */
+/* $Id: zone.c,v 1.333.2.23.2.48 2004/08/27 12:21:15 marka Exp $ */
#include <config.h>
if (zone->readio != NULL)
zonemgr_cancelio(zone->readio);
- if (zone->writeio != NULL)
- zonemgr_cancelio(zone->writeio);
-
if (zone->lctx != NULL)
dns_loadctx_cancel(zone->lctx);
- if (zone->dctx != NULL)
- dns_dumpctx_cancel(zone->dctx);
+
+ if (!DNS_ZONE_FLAG(zone, DNS_ZONEFLG_FLUSH) ||
+ !DNS_ZONE_FLAG(zone, DNS_ZONEFLG_DUMPING)) {
+ if (zone->writeio != NULL)
+ zonemgr_cancelio(zone->writeio);
+
+ if (zone->dctx != NULL)
+ dns_dumpctx_cancel(zone->dctx);
+ }
notify_cancel(zone);