Mercurial > hg > nginx
comparison src/http/ngx_http.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 | 6bd8ed493b85 |
children | 9ec3e71f8a61 |
comparison
equal
deleted
inserted
replaced
8705:ae2e68f206f9 | 8706:3057bae4dba7 |
---|---|
18 typedef struct ngx_http_cache_s ngx_http_cache_t; | 18 typedef struct ngx_http_cache_s ngx_http_cache_t; |
19 typedef struct ngx_http_file_cache_s ngx_http_file_cache_t; | 19 typedef struct ngx_http_file_cache_s ngx_http_file_cache_t; |
20 typedef struct ngx_http_log_ctx_s ngx_http_log_ctx_t; | 20 typedef struct ngx_http_log_ctx_s ngx_http_log_ctx_t; |
21 typedef struct ngx_http_chunked_s ngx_http_chunked_t; | 21 typedef struct ngx_http_chunked_s ngx_http_chunked_t; |
22 typedef struct ngx_http_v2_stream_s ngx_http_v2_stream_t; | 22 typedef struct ngx_http_v2_stream_s ngx_http_v2_stream_t; |
23 typedef struct ngx_http_v3_parse_s ngx_http_v3_parse_t; | |
23 | 24 |
24 typedef ngx_int_t (*ngx_http_header_handler_pt)(ngx_http_request_t *r, | 25 typedef ngx_int_t (*ngx_http_header_handler_pt)(ngx_http_request_t *r, |
25 ngx_table_elt_t *h, ngx_uint_t offset); | 26 ngx_table_elt_t *h, ngx_uint_t offset); |
26 typedef u_char *(*ngx_http_log_handler_pt)(ngx_http_request_t *r, | 27 typedef u_char *(*ngx_http_log_handler_pt)(ngx_http_request_t *r, |
27 ngx_http_request_t *sr, u_char *buf, size_t len); | 28 ngx_http_request_t *sr, u_char *buf, size_t len); |