diff 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
line wrap: on
line diff
--- a/src/http/v3/ngx_http_v3.h
+++ b/src/http/v3/ngx_http_v3.h
@@ -98,6 +98,12 @@ typedef struct {
 } ngx_http_v3_loc_conf_t;
 
 
+struct ngx_http_v3_parse_s {
+    ngx_http_v3_parse_headers_t   headers;
+    ngx_http_v3_parse_data_t      body;
+};
+
+
 typedef struct {
     ngx_str_t                     name;
     ngx_str_t                     value;