The official NGINX Open Source repository. https://nginx.org/
Find a file
Maxim Dounin 0a90893da0 HTTP/2: fixed closed_nodes overflow (ticket #1708).
With large http2_max_concurrent_streams or http2_max_concurrent_pushes, more
than 255 ngx_http_v2_node_t structures might be allocated, eventually leading
to h2c->closed_nodes overflow when closing corresponding streams.  This will
in turn result in additional allocations in ngx_http_v2_get_node_by_id().

While mostly harmless, it can result in excessive memory usage by a HTTP/2
connection, notably in configurations with many keepalive_requests allowed.
Fix is to use ngx_uint_t for h2c->closed_nodes instead of unsigned:8.
2022-02-03 22:46:01 +03:00
auto Core: added autotest for UDP segmentation offloading. 2022-01-26 20:40:00 +03:00
conf MIME: added image/avif type. 2021-10-25 20:49:15 +03:00
contrib Contrib: vim syntax adjusted to save cpoptions (ticket #2276). 2022-01-22 00:28:51 +03:00
docs nginx-1.21.6-RELEASE 2022-01-25 18:03:51 +03:00
misc Updated OpenSSL and PCRE used for win32 builds. 2021-12-28 17:56:16 +03:00
src HTTP/2: fixed closed_nodes overflow (ticket #1708). 2022-02-03 22:46:01 +03:00
.hgtags release-1.21.6 tag 2022-01-25 18:03:52 +03:00