]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Release failed TCP backend connections more quickly 14004/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 29 Mar 2024 14:08:29 +0000 (15:08 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 29 Mar 2024 14:12:03 +0000 (15:12 +0100)
commit7b5f590ee72fecf54c0c40b24e98ba03a406af53
tree9f9d63c8d3ad3e7b0dca51d3ef68cfedd3bf1423
parent2f7dc1ce669c10d632ef748ccad2bba11f5c3610
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.
pdns/dnsdistdist/dnsdist-tcp-downstream.cc
pdns/dnsdistdist/test-dnsdisttcp_cc.cc