]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Try reading from the TCP backend right away
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 3 Apr 2019 16:10:55 +0000 (18:10 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 4 Apr 2019 09:54:06 +0000 (11:54 +0200)
commit1e26e48bfc80e5a66722c6916957395f9d1ea4a9
tree23ad573ae656d77824f65b576ddb1f06a6766ea9
parent77c3701d9ef188a0d24d61c130eaa2fa9dcfedcc
dnsdist: Try reading from the TCP backend right away

Instead of waiting for the socket to be readable, as it might
already be, so we save a multiplexer trip, and prevent an issue
if we ever add a TLS layer between dnsdist and the backends.
pdns/dnsdist-tcp.cc