]> git.kaiwu.me - nginx.git/commit
HTTP/2: socket leak with "return 444" in error_page (ticket #2455).
authorMaxim Dounin <mdounin@mdounin.ru>
Fri, 10 Mar 2023 03:47:48 +0000 (06:47 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Fri, 10 Mar 2023 03:47:48 +0000 (06:47 +0300)
commit3c949f7c409e41a7c6fd6edb096281a3e82f85e4
tree8110367affede88ae807b27b9186fea169739d39
parent5c480f917300f8b7252e76928c12585d8d89afed
HTTP/2: socket leak with "return 444" in error_page (ticket #2455).

Similarly to ticket #274 (7354:1812f1d79d84), early request finalization
without calling ngx_http_run_posted_requests() resulted in a connection
hang (a socket leak) if the 400 (Bad Request) error was generated in
ngx_http_v2_state_process_header() due to invalid request headers and
"return 444" was used in error_page 400.
src/http/v2/ngx_http_v2.c