]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Release failed TCP backend connections more quickly 14017/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 29 Mar 2024 14:08:29 +0000 (15:08 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 2 Apr 2024 10:09:29 +0000 (12:09 +0200)
commitdf3e52b14ef9dd746edc474ddbc2275e7e1fbb45
treee3649b548b9aae4ab8b6a4fe44a95f62b647bf3b
parent54a03205dc1ca9a3ba91a00bea00c265d2e5827d
dnsdist: Release failed TCP backend connections more quickly

After a timeout we cannot reuse the TCP connection to the backend
anyway, so let's release it immediately.

(cherry picked from commit 7b5f590ee72fecf54c0c40b24e98ba03a406af53)
pdns/dnsdistdist/dnsdist-tcp-downstream.cc
pdns/dnsdistdist/test-dnsdisttcp_cc.cc