]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Gracefully handle timeout/response for a closed HTTP stream 15485/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 28 Apr 2025 10:47:39 +0000 (12:47 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 29 Apr 2025 08:44:41 +0000 (10:44 +0200)
commit0170f02ab082d555722798e00e73be719b2a47ed
tree8f48b845ac0caf1e4ec91f2baf64926b5ebe6c9f
parent79cd3cbaf0ad1cf0ddb369d3ea5af3b5508c792e
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.

(cherry picked from commit c3aab4cebf70815578e8bf449a7bce9d0827289e)
pdns/dnsdistdist/dnsdist-nghttp2-in.cc