]> git.ipfire.org Git - thirdparty/dnspython.git/commit
Attempt to refactor per-opcode validation. 521/head
authorBrian Wellington <bwelling@xbill.org>
Fri, 26 Jun 2020 20:59:59 +0000 (13:59 -0700)
committerBrian Wellington <bwelling@xbill.org>
Fri, 26 Jun 2020 20:59:59 +0000 (13:59 -0700)
commitfa20a70905d6e62d673c5a00bf0112f51f807fa3
tree67a226ba01cdeb171350b75f429a1ce7b6081a4e
parentf8b1646acb393b7cd1cb79fc427502374a8d2ca6
Attempt to refactor per-opcode validation.

Instead of validating rrsets and sections after parsing them, check the
class/type for each record before parsing it.  This is more generic,
because it moves all of the update logic out of the common code.  It's
also more flexible, as it allows the update logic to specify that
meta-records are empty.
dns/message.py
dns/update.py