]> git.ipfire.org Git - thirdparty/dnspython.git/commit
Fix AXFR-style IXFR with multiple messages. (#1151)
authorBrian Wellington <bwelling@xbill.org>
Fri, 18 Oct 2024 16:36:02 +0000 (09:36 -0700)
committerGitHub <noreply@github.com>
Fri, 18 Oct 2024 16:36:02 +0000 (09:36 -0700)
commit51f1583cee65275c5af5735df6f8a737fc87cce5
treee730b4f3c1cc56e7aad4a9a0b9a71ca411479f84
parentb9e75af9331c908a92c6cc7bad1b4c1630bdb8ee
Fix AXFR-style IXFR with multiple messages. (#1151)

The inbound xfr code is conflating the expected rdtype in responses with
the incremental/replacement response style.  This causes a problem when
an AXFR-style IXFR response spans multiple messages, as resetting the
style to AXFR (replacement) also changed the expected type in the
question section of future responses to AXFR.

This change separates out the style from the expected rdtype.
dns/xfr.py
tests/test_xfr.py