]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Fix outstanding counter issue when a TCP connection dies 10705/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 9 Sep 2021 09:51:00 +0000 (11:51 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 9 Sep 2021 09:59:05 +0000 (11:59 +0200)
commitb64d86f9e9ebf3cdafc405e0cfeffa1b67855a42
treea0d9c7cf8070b2f33de5fa8708d453906ddd5bd8
parentb94e56f1d1f87d83043820da1dd3448ff0268a2e
dnsdist: Fix outstanding counter issue when a TCP connection dies

When the client closes the TCP connection while we are still waiting
for the backend to send at least one response, and the backend connection
then terminates anormally, we could have not properly reset the outstanding
counter of that backend.
pdns/dnsdistdist/dnsdist-tcp-downstream.cc
pdns/dnsdistdist/test-dnsdisttcp_cc.cc