+2815. [bug] Exclusively lock the task when freezing a zone.
+ [RT #19838]
+
2814. [func] Provide a definitive error message when a master
zone is not loaded. [RT #20757]
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: server.c,v 1.495.10.29 2009/07/11 04:28:14 marka Exp $ */
+/* $Id: server.c,v 1.495.10.30 2009/12/23 23:34:45 each Exp $ */
/*! \file */
return (ISC_R_NOTFOUND);
}
+ result = isc_task_beginexclusive(server->task);
+ RUNTIME_CHECK(result == ISC_R_SUCCESS);
frozen = dns_zone_getupdatedisabled(zone);
if (freeze) {
if (frozen) {
}
}
}
+ isc_task_endexclusive(server->task);
if (msg != NULL && strlen(msg) < isc_buffer_availablelength(text))
isc_buffer_putmem(text, (const unsigned char *)msg,