2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

1238. [bug] It is possible to lockup the server when shutting down

if a notifies were being processed. [RT #2591]
This commit is contained in:
Mark Andrews
2002-03-27 04:48:21 +00:00
parent beed6a0e22
commit f0ffc28f61
2 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,6 @@
1238. [bug] It is possible to lockup the server when shutting down
if a notifies were being processed. [RT #2591]
1237. [bug] nslookup: "set q=type" failed. 1237. [bug] nslookup: "set q=type" failed.
1236. [bug] dns_rdata{class,type}_fromtext() didn't handle non 1236. [bug] dns_rdata{class,type}_fromtext() didn't handle non

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: zone.c,v 1.364 2002/03/11 04:41:53 marka Exp $ */ /* $Id: zone.c,v 1.365 2002/03/27 04:48:21 marka Exp $ */
#include <config.h> #include <config.h>
@@ -4914,7 +4914,9 @@ notify_done(isc_task_t *task, isc_event_t *event) {
(notify->flags & DNS_NOTIFY_NOSOA) == 0))) { (notify->flags & DNS_NOTIFY_NOSOA) == 0))) {
notify->flags |= DNS_NOTIFY_NOSOA; notify->flags |= DNS_NOTIFY_NOSOA;
dns_request_destroy(&notify->request); dns_request_destroy(&notify->request);
notify_send_queue(notify); result = notify_send_queue(notify);
if (result != ISC_R_SUCCESS)
notify_destroy(notify, ISC_FALSE);
} else { } else {
if (result == ISC_R_TIMEDOUT) if (result == ISC_R_TIMEDOUT)
notify_log(notify->zone, ISC_LOG_DEBUG(1), notify_log(notify->zone, ISC_LOG_DEBUG(1),