dnsdist: Add `DNSQuestion:getDO()` #4535

merged 1 commit into from Dec 8, 2016


None yet

1 participant

rgacogne commented Oct 5, 2016

One nice improvement would be to cache the result of getEDNSZ() inside the DNSQuestion object after the first call, so we still don't do the parsing if we don't need it, but we only do it once. It would require making the DNSQuestion object not const, though.
Closes #4532.

@rgacogne rgacogne added this to the dnsdist-1.2.0 milestone Oct 6, 2016
@rgacogne rgacogne merged commit 2d51a76 into PowerDNS:master Dec 8, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
@rgacogne rgacogne deleted the rgacogne:dnsdist-lua-do branch Dec 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment