Repost: Fix multi-message IXFR

26 views
Skip to first unread message

James Raftery

unread,
Apr 26, 2013, 11:10:46 AM4/26/13
to dnspyth...@googlegroups.com
Bob,

Would you please consider my IXFR fix for the next DNSPython release?

The attached patch:

* fixes IXFR processing where the deltas span multiple messages, where the
IXFR state machine would be mistakenly reset and raise spurious FormError
exceptions

* adds text to FormError exception raised when there's no answer or the
first RRset isn't for the name we asked for

* fixes the serial number check to recognise serials lower than ours as
meaning there's no data to read (e.g. if we send an IXFR query with a
serial higher than that of the remote party)

Thanks,
james


dnspython-ixfr.diff
Reply all
Reply to author
Forward
0 new messages