]> git.ipfire.org Git - thirdparty/pdns.git/commit - regression-tests.dnsdist/test_Basics.py
dnsdist: Check that the answer matches the initial query over UDP 3433/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 22 Feb 2016 18:22:55 +0000 (19:22 +0100)
committerRemi Gacogne <remi.gacogne]powerdns.com>
Mon, 22 Feb 2016 18:22:55 +0000 (19:22 +0100)
commit7267213ac6c8431a4da6d93674d67ae855079f49
tree43aabd25b4f30258389f93fbfb97e2fd692fc446
parente09c0df6dca783e4e33b294f1418166c4234e751
dnsdist: Check that the answer matches the initial query over UDP

If we wrap around our maxOutstanding counter too fast, we need
to check that the answer we get is for the right query.
In order to do that, we now parse the question section in the
response and compare it to the one we expect (type, class and
name).
pdns/dnsdist.cc
regression-tests.dnsdist/test_Basics.py