]> granicus.if.org Git - pdns/commit
dnsdist: Split DNSCrypt encryption from sendResponse. Fix flags.
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 16 Mar 2016 11:15:09 +0000 (12:15 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 16 Mar 2016 11:15:09 +0000 (12:15 +0100)
commit0f72fd5cb4852664cc1d34cdd65185ea7a9405a9
tree8699c075b6ec80883b5dfec6ef9be7fa14af0609
parente91084ce6d51a71d9d2a2c163c8f27e8c23ba3de
dnsdist: Split DNSCrypt encryption from sendResponse. Fix flags.

Splitting DNSCrypt encryption from the sendResponse functions to
avoid the ugly #ifdef'ed definitions.
Flags were not correctly restored for self-generated responses.
pdns/dnsdist-tcp.cc
pdns/dnsdist.cc
pdns/dnsdist.hh
regression-tests.dnsdist/test_Advanced.py