]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Gracefully handle timeout/response for a closed HTTP stream 15481/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 28 Apr 2025 10:47:39 +0000 (12:47 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 28 Apr 2025 10:47:39 +0000 (12:47 +0200)
commitc3aab4cebf70815578e8bf449a7bce9d0827289e
tree46f95fd1b4addf98645a187a3bf8896475cc4bd1
parent9647835dc1003f224b8fedd7278402408750e332
dnsdist: Gracefully handle timeout/response for a closed HTTP stream

The remote end might very well have already closed the HTTP stream
corresponding to the timeout or response we are processing. While
this means we need to discard the event we were processing, it is
not an unexpected event and we should thus not raise an exception
since the caller cannot do anything about it.
pdns/dnsdistdist/dnsdist-nghttp2-in.cc