New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 force-pushed the rgacogne:dnsdist-lua-do branch from be48d9e to b82f0bc Nov 30, 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