mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-13 21:16:19 -04:00
1703. [bug] named would loop sending NOTIFY messages when it
failed to receive a response. [RT #12322]
This commit is contained in:
parent
619fb87062
commit
a4530fc707
2 changed files with 6 additions and 4 deletions
3
CHANGES
3
CHANGES
|
|
@ -6,6 +6,9 @@
|
|||
1706. [bug] 'rndc stop' failed to cause zones to be flushed
|
||||
sometimes. [RT #12328]
|
||||
|
||||
1703. [bug] named would loop sending NOTIFY messages when it
|
||||
failed to receive a response. [RT #12322]
|
||||
|
||||
1702. [bug] also-notify should not be applied to builtin zones.
|
||||
[RT #12323]
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: zone.c,v 1.333.2.23.2.49 2004/08/27 12:25:47 marka Exp $ */
|
||||
/* $Id: zone.c,v 1.333.2.23.2.50 2004/08/28 05:53:37 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -5176,9 +5176,8 @@ notify_done(isc_task_t *task, isc_event_t *event) {
|
|||
* the soa if we see a formerr and had sent a SOA.
|
||||
*/
|
||||
isc_event_free(&event);
|
||||
if ((result == ISC_R_TIMEDOUT ||
|
||||
(message != NULL && message->rcode == dns_rcode_formerr &&
|
||||
(notify->flags & DNS_NOTIFY_NOSOA) == 0))) {
|
||||
if (message != NULL && message->rcode == dns_rcode_formerr &&
|
||||
(notify->flags & DNS_NOTIFY_NOSOA) == 0) {
|
||||
notify->flags |= DNS_NOTIFY_NOSOA;
|
||||
dns_request_destroy(¬ify->request);
|
||||
result = notify_send_queue(notify);
|
||||
|
|
|
|||
Loading…
Reference in a new issue