]> git.kaiwu.me - nginx.git/commit
Fixed $request_length for HTTP/3.
authorRoman Arutyunyan <arut@nginx.com>
Tue, 19 May 2020 12:47:37 +0000 (15:47 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Tue, 19 May 2020 12:47:37 +0000 (15:47 +0300)
commitd6b6b6dfc57c916dc7990504fffe71248421456d
tree602a577d135b3b1d61507f91c5e68d7f9324b1ee
parentd25937c2b596013874fcb049f10b28270ee49e29
Fixed $request_length for HTTP/3.

New field r->parse_start is introduced to substitute r->request_start and
r->header_name_start for request length accounting.  These fields only work for
this purpose in HTTP/1 because HTTP/1 request line and header line start with
these values.

Also, error logging is now fixed to output the right part of the request.
src/http/ngx_http_parse.c
src/http/ngx_http_request.c
src/http/ngx_http_request.h
src/http/v3/ngx_http_v3_request.c