Skip to content
Snippets Groups Projects
Commit a0758736 authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

IXFR reverts to AXFR if only opening SOA is received.

For compatibility with more relaxed transfer providers.
parent c49c25be
No related branches found
No related tags found
No related merge requests found
......@@ -960,8 +960,7 @@ int xfrin_process_ixfr_packet(knot_ns_xfr_t *xfr)
if (rr == NULL) {
dbg_xfrin("No RRs in the packet.\n");
knot_packet_free(&packet);
/*! \todo Some other action??? */
return KNOT_EMALF;
return KNOT_EXFRREFUSED; /* Only SOA received, try again with AXFR. */
}
/*! \todo Replace with RRSet duplicate checking. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment