]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix BIND hanging when browsers end HTTP/2 streams prematurely
authorArtem Boldariev <artem@boldariev.com>
Fri, 2 Jul 2021 15:25:17 +0000 (18:25 +0300)
committerArtem Boldariev <artem@boldariev.com>
Fri, 9 Jul 2021 12:42:44 +0000 (15:42 +0300)
commit7b6945fb60fc477a602a14e41ef35cea0b438710
treeb219f5d6c2b89567b5a869a8edabd3bf7d344f5a
parent094fcc10e7f4120554553036ad4e8eaea0efdb92
Fix BIND hanging when browsers end HTTP/2 streams prematurely

The commit fixes BIND hanging when browsers end HTTP/2 streams
prematurely (for example, by sending RST_STREAM). It ensures that
isc__nmsocket_prep_destroy() will be called for an HTTP/2 stream,
allowing it to be properly disposed.

The problem was impossible to reproduce using dig or DoH benchmarking
software (e.g. flamethrower) because these do not tend to end HTTP/2
streams prematurely.
lib/isc/netmgr/http.c