mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 07:35:26 +00:00
Fix bug in AXFR processing when multiple servers can potentially answer.
This commit is contained in:
@@ -1432,6 +1432,13 @@ recv_done(isc_task_t *task, isc_event_t *event) {
|
|||||||
debug("Still pending.");
|
debug("Still pending.");
|
||||||
#endif
|
#endif
|
||||||
if (query->lookup->doing_xfr) {
|
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) {
|
if (!query->first_soa_rcvd) {
|
||||||
debug("Not yet got first SOA");
|
debug("Not yet got first SOA");
|
||||||
if (!msg_contains_soa(msg, query)) {
|
if (!msg_contains_soa(msg, query)) {
|
||||||
|
Reference in New Issue
Block a user