diff options
author | Roman Arutyunyan <arut@nginx.com> | 2025-04-18 11:16:57 +0400 |
---|---|---|
committer | Roman Arutyunyan <arutyunyan.roman@gmail.com> | 2025-04-18 15:28:00 +0400 |
commit | 0f9f43b79eed64ab1a876be76ff0f49d499784fc (patch) | |
tree | 9cfe5533db7825dda43e70f927c01029543e4f1e /src/http/v3/ngx_http_v3_request.c | |
parent | 444954abacef1d77f3dc6e9b1878684c7e6fe5b3 (diff) | |
download | nginx-0f9f43b79eed64ab1a876be76ff0f49d499784fc.tar.gz nginx-0f9f43b79eed64ab1a876be76ff0f49d499784fc.zip |
HTTP/3: fixed NGX_HTTP_V3_VARLEN_INT_LEN value.
After fixing ngx_http_v3_encode_varlen_int() in 400eb1b628,
NGX_HTTP_V3_VARLEN_INT_LEN retained the old value of 4, which is
insufficient for the values over 1073741823 (1G - 1).
The NGX_HTTP_V3_VARLEN_INT_LEN macro is used in ngx_http_v3_uni.c to
format stream and frame types. Old buffer size is enough for formatting
this data. Also, the macro is used in ngx_http_v3_filter_module.c to
format output chunks and trailers. Considering output_buffers and
proxy_buffer_size are below 1G in all realistic scenarios, the old buffer
size is enough here as well.
Diffstat (limited to 'src/http/v3/ngx_http_v3_request.c')
0 files changed, 0 insertions, 0 deletions