Mercurial > hg > nginx-quic
comparison src/http/ngx_http_request.h @ 8318:3057bae4dba7 quic
HTTP/3: introduced ngx_http_v3_parse_t structure.
The structure is used to parse an HTTP/3 request. An object of this type is
added to ngx_http_request_t instead of h3_parse generic pointer.
Also, the new field is located outside of the request ephemeral zone to keep it
safe after request headers are parsed.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Wed, 17 Feb 2021 15:56:34 +0300 |
parents | e1eb7f4ca9f1 |
children | 9ec3e71f8a61 |
comparison
equal
deleted
inserted
replaced
8317:ae2e68f206f9 | 8318:3057bae4dba7 |
---|---|
445 | 445 |
446 ngx_uint_t err_status; | 446 ngx_uint_t err_status; |
447 | 447 |
448 ngx_http_connection_t *http_connection; | 448 ngx_http_connection_t *http_connection; |
449 ngx_http_v2_stream_t *stream; | 449 ngx_http_v2_stream_t *stream; |
450 ngx_http_v3_parse_t *v3_parse; | |
450 | 451 |
451 ngx_http_log_handler_pt log_handler; | 452 ngx_http_log_handler_pt log_handler; |
452 | 453 |
453 ngx_http_cleanup_t *cleanup; | 454 ngx_http_cleanup_t *cleanup; |
454 | 455 |
594 u_char *host_start; | 595 u_char *host_start; |
595 u_char *host_end; | 596 u_char *host_end; |
596 u_char *port_start; | 597 u_char *port_start; |
597 u_char *port_end; | 598 u_char *port_end; |
598 | 599 |
599 #if (NGX_HTTP_V3) | |
600 void *h3_parse; | |
601 #endif | |
602 | |
603 unsigned http_minor:16; | 600 unsigned http_minor:16; |
604 unsigned http_major:16; | 601 unsigned http_major:16; |
605 }; | 602 }; |
606 | 603 |
607 | 604 |