# HG changeset patch # User Roman Arutyunyan # Date 1597760596 -10800 # Node ID 357b8afe915e759a6582776aef4a3fddb192fe5f # Parent de7d6d943f68fac031c76af4d16669b6fee715bb HTTP/3: request more client body bytes. Previously the request body DATA frame header was read by one byte because filters were called only when the requested number of bytes were read. Now, after 08ff2e10ae92 (1.19.2), filters are called after each read. More bytes can be read at once, which simplifies and optimizes the code. This also reduces diff with the default branch. diff --git a/src/http/ngx_http_request_body.c b/src/http/ngx_http_request_body.c --- a/src/http/ngx_http_request_body.c +++ b/src/http/ngx_http_request_body.c @@ -1029,12 +1029,6 @@ ngx_http_request_body_chunked_filter(ngx r->headers_in.content_length_n = 0; rb->rest = cscf->large_client_header_buffers.size; - -#if (NGX_HTTP_V3) - if (r->http_version == NGX_HTTP_VERSION_30) { - rb->rest = 1; - } -#endif } out = NULL;