mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 05:28:00 +00:00
Fix bug in AXFR processing when multiple servers can potentially answer.
This commit is contained in:
parent
e6ec99f169
commit
bcb97dbff8
@ -1432,6 +1432,13 @@ recv_done(isc_task_t *task, isc_event_t *event) {
|
||||
debug("Still pending.");
|
||||
#endif
|
||||
if (query->lookup->doing_xfr) {
|
||||
if (query != query->lookup->xfr_q) {
|
||||
dns_message_destroy (&msg);
|
||||
isc_event_free (&event);
|
||||
query->working = ISC_FALSE;
|
||||
query->waiting_connect = ISC_FALSE;
|
||||
return;
|
||||
}
|
||||
if (!query->first_soa_rcvd) {
|
||||
debug("Not yet got first SOA");
|
||||
if (!msg_contains_soa(msg, query)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user