comparison src/http/v3/ngx_http_v3.h @ 8706: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 ae2e68f206f9
children ffcaf0aad9f2
comparison
equal deleted inserted replaced
8705:ae2e68f206f9 8706:3057bae4dba7
94 typedef struct { 94 typedef struct {
95 ngx_flag_t push_preload; 95 ngx_flag_t push_preload;
96 ngx_flag_t push; 96 ngx_flag_t push;
97 ngx_array_t *pushes; 97 ngx_array_t *pushes;
98 } ngx_http_v3_loc_conf_t; 98 } ngx_http_v3_loc_conf_t;
99
100
101 struct ngx_http_v3_parse_s {
102 ngx_http_v3_parse_headers_t headers;
103 ngx_http_v3_parse_data_t body;
104 };
99 105
100 106
101 typedef struct { 107 typedef struct {
102 ngx_str_t name; 108 ngx_str_t name;
103 ngx_str_t value; 109 ngx_str_t value;