]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: In single acceptor mode, merge the TCP acceptor and worker threads
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 1 Sep 2022 12:16:50 +0000 (14:16 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 30 Sep 2022 14:15:43 +0000 (16:15 +0200)
commitf64992dd90e4544c584c89036fecd50768840bc5
treee3ea1557856fe82961178552c938f231554c9dd6
parentab64ca35e350d25ad6c19ac2840ea14b03d66c79
dnsdist: In single acceptor mode, merge the TCP acceptor and worker threads

As we usually have one TCP worker thread only in single acceptor
mode, there is no need to pass the query via a pipe, improving
latency and CPU usage, and also saving a thread.
pdns/dnsdist-tcp.cc
pdns/dnsdist.cc
pdns/dnsdistdist/dnsdist-tcp.hh