mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
1703. [bug] named would loop sending NOTIFY messages when it
failed to receive a response. [RT #12322]
This commit is contained in:
parent
5639d60b40
commit
ed18f74496
3
CHANGES
3
CHANGES
@ -7,7 +7,8 @@
|
|||||||
|
|
||||||
1704. [placeholder] rt12321
|
1704. [placeholder] rt12321
|
||||||
|
|
||||||
1703. [placeholder] rt12322
|
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.
|
1702. [bug] also-notify should not be applied to builtin zones.
|
||||||
[RT #12323]
|
[RT #12323]
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: zone.c,v 1.419 2004/08/27 12:35:03 marka Exp $ */
|
/* $Id: zone.c,v 1.420 2004/08/28 05:53:12 marka Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@ -5180,9 +5180,8 @@ notify_done(isc_task_t *task, isc_event_t *event) {
|
|||||||
* the soa if we see a formerr and had sent a SOA.
|
* the soa if we see a formerr and had sent a SOA.
|
||||||
*/
|
*/
|
||||||
isc_event_free(&event);
|
isc_event_free(&event);
|
||||||
if ((result == ISC_R_TIMEDOUT ||
|
if (message != NULL && message->rcode == dns_rcode_formerr &&
|
||||||
(message != NULL && message->rcode == dns_rcode_formerr &&
|
(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(¬ify->request);
|
dns_request_destroy(¬ify->request);
|
||||||
result = notify_send_queue(notify);
|
result = notify_send_queue(notify);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user