]> git.ipfire.org Git - thirdparty/pdns.git/commit - pdns/ixfr.cc
rec: Fix IXFR skipping the additions part of the last sequence
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 28 Jun 2017 16:26:33 +0000 (18:26 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 29 Jun 2017 13:29:04 +0000 (15:29 +0200)
commitd67ae3b477c9cf9d2a98f0edad9977dc34a2c8bf
tree591ddee36e5831625e08efb8d135bf9a26462550
parentaea6eb940276074629c86ab14498d7a34c7753cb
rec: Fix IXFR skipping the additions part of the last sequence

Under certain conditions, we could have skipped the additions part
of the last `IXFR` sequence, because we stopped processing records
after seeing a `SOA` record with the new serial. However, as stated
in rfc1995's "Response format" section:

"the first RR of the added RRs is the newer SOA RR"
pdns/ixfr.cc
pdns/ixfr.hh