Mercurial > hg > nginx-quic
comparison src/http/ngx_http_request.h @ 7884:d6feece1288a quic
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.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Tue, 19 May 2020 15:47:37 +0300 |
parents | 268f4389130d |
children | 0d2b2664b41c |
comparison
equal
deleted
inserted
replaced
7883:66feab03d9b7 | 7884:d6feece1288a |
---|---|
577 /* | 577 /* |
578 * a memory that can be reused after parsing a request line | 578 * a memory that can be reused after parsing a request line |
579 * via ngx_http_ephemeral_t | 579 * via ngx_http_ephemeral_t |
580 */ | 580 */ |
581 | 581 |
582 u_char *parse_start; | |
582 u_char *uri_start; | 583 u_char *uri_start; |
583 u_char *uri_end; | 584 u_char *uri_end; |
584 u_char *uri_ext; | 585 u_char *uri_ext; |
585 u_char *args_start; | 586 u_char *args_start; |
586 u_char *request_start; | 587 u_char *request_start; |