Mercurial > hg > nginx
comparison src/http/ngx_http_request.h @ 8679:e1eb7f4ca9f1 quic
HTTP/3: refactored request parser.
The change reduces diff to the default branch for
src/http/ngx_http_request.c and src/http/ngx_http_parse.c.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Fri, 22 Jan 2021 16:34:06 +0300 |
parents | f61d347158d0 |
children | 3057bae4dba7 |
comparison
equal
deleted
inserted
replaced
8678:3443ee341cc1 | 8679:e1eb7f4ca9f1 |
---|---|
323 | 323 |
324 ngx_chain_t *free; | 324 ngx_chain_t *free; |
325 | 325 |
326 unsigned ssl:1; | 326 unsigned ssl:1; |
327 unsigned proxy_protocol:1; | 327 unsigned proxy_protocol:1; |
328 unsigned http3:1; | |
328 } ngx_http_connection_t; | 329 } ngx_http_connection_t; |
329 | 330 |
330 | 331 |
331 typedef void (*ngx_http_cleanup_pt)(void *data); | 332 typedef void (*ngx_http_cleanup_pt)(void *data); |
332 | 333 |
579 /* | 580 /* |
580 * a memory that can be reused after parsing a request line | 581 * a memory that can be reused after parsing a request line |
581 * via ngx_http_ephemeral_t | 582 * via ngx_http_ephemeral_t |
582 */ | 583 */ |
583 | 584 |
584 u_char *parse_start; | |
585 u_char *uri_start; | 585 u_char *uri_start; |
586 u_char *uri_end; | 586 u_char *uri_end; |
587 u_char *uri_ext; | 587 u_char *uri_ext; |
588 u_char *args_start; | 588 u_char *args_start; |
589 u_char *request_start; | 589 u_char *request_start; |