]> 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, 21 Aug 2025 10:28:37 +0000 (12:28 +0200)
commitb81ed956d2f0b6bc538b34ee7e7ad304be233e7a
treee75ba5a4afaaeced0bbd58d805cf5a9baf0cc1c5
parent866c8f3fff753d3b2a03c1da50e8d53056880a46
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>
pdns/dnsdistdist/dnsdist-nghttp2-in.cc
pdns/dnsdistdist/dnsdist-nghttp2-in.hh