]> granicus.if.org Git - pdns/commit
Make dnsdist dynamic truncate do right thing on TCP/IP
authorbert hubert <bert.hubert@powerdns.com>
Thu, 24 Aug 2017 12:29:03 +0000 (14:29 +0200)
committerbert hubert <bert.hubert@powerdns.com>
Thu, 24 Aug 2017 12:30:45 +0000 (14:30 +0200)
commit8477236d0a4ee4b7454485c4e6c5870e58317b86
tree106ef43f53fbc4e6b82f87207c32706c03e23ada
parentda2869bb7a76e96e47054054c650de0eed0d0602
Make dnsdist dynamic truncate do right thing on TCP/IP

Winfried noted that our new dynamic truncation rule worked fine on UDP, but on TCP/IP a truncate would be converted into a drop, which was not the intended effect.
This commit makes dynamic truncate a NOOP on TCP.
pdns/dnsdist.cc