aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http.h
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2021-02-17 15:56:34 +0300
committerRoman Arutyunyan <arut@nginx.com>2021-02-17 15:56:34 +0300
commitffb099bf52e70c0cbdb1ed5555645f12ec6b2322 (patch)
treeb16ec2b55588baec24be0d8a2f1536fd0ed27e1b /src/http/ngx_http.h
parentc83be09720cf8dff041db6581d9df26c88bd3463 (diff)
downloadnginx-ffb099bf52e70c0cbdb1ed5555645f12ec6b2322.tar.gz
nginx-ffb099bf52e70c0cbdb1ed5555645f12ec6b2322.zip
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.
Diffstat (limited to 'src/http/ngx_http.h')
-rw-r--r--src/http/ngx_http.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http.h b/src/http/ngx_http.h
index a7cd51d53..f5d772e65 100644
--- a/src/http/ngx_http.h
+++ b/src/http/ngx_http.h
@@ -20,6 +20,7 @@ typedef struct ngx_http_file_cache_s ngx_http_file_cache_t;
typedef struct ngx_http_log_ctx_s ngx_http_log_ctx_t;
typedef struct ngx_http_chunked_s ngx_http_chunked_t;
typedef struct ngx_http_v2_stream_s ngx_http_v2_stream_t;
+typedef struct ngx_http_v3_parse_s ngx_http_v3_parse_t;
typedef ngx_int_t (*ngx_http_header_handler_pt)(ngx_http_request_t *r,
ngx_table_elt_t *h, ngx_uint_t offset);