]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Fix the accounting of "killed" streams
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 28 Jul 2025 14:31:36 +0000 (16:31 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 28 Aug 2025 08:18:04 +0000 (10:18 +0200)
commit82fceda961e0ccd7823e2800c03ca86f82128743
tree5bb3db4deadabee3a2eebbaf62633b2e18f8ac43
parente1e455cc9bba402528ec30d3cc59ece86c15060a
dnsdist: Fix the accounting of "killed" streams

The way the nghttp2 library works means that we can get notified
that a stream has been closed while we are still in the function
sending the actual response. This is not a "killed" stream, but
just a regular closure.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
(cherry picked from commit b81ed956d2f0b6bc538b34ee7e7ad304be233e7a)
pdns/dnsdistdist/dnsdist-nghttp2-in.cc
pdns/dnsdistdist/dnsdist-nghttp2-in.hh