aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2020-03-13 19:36:33 +0300
committerRoman Arutyunyan <arut@nginx.com>2020-03-13 19:36:33 +0300
commit7739b6073b11086d9a3dc4b9744418070e182c33 (patch)
tree7a16aeff28275722458173e83e2f6dd1889cc44a /src/http/ngx_http_request.h
parent365b77b58732a708168c995c7956f50d110fee33 (diff)
downloadnginx-7739b6073b11086d9a3dc4b9744418070e182c33.tar.gz
nginx-7739b6073b11086d9a3dc4b9744418070e182c33.zip
HTTP/3.
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r--src/http/ngx_http_request.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h
index 8cc5d6432..04d88db7b 100644
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -24,6 +24,7 @@
#define NGX_HTTP_VERSION_10 1000
#define NGX_HTTP_VERSION_11 1001
#define NGX_HTTP_VERSION_20 2000
+#define NGX_HTTP_VERSION_30 3000
#define NGX_HTTP_UNKNOWN 0x0001
#define NGX_HTTP_GET 0x0002
@@ -584,6 +585,7 @@ struct ngx_http_request_s {
u_char *args_start;
u_char *request_start;
u_char *request_end;
+ u_char *method_start;
u_char *method_end;
u_char *schema_start;
u_char *schema_end;
@@ -592,6 +594,17 @@ struct ngx_http_request_s {
u_char *port_start;
u_char *port_end;
+#if (NGX_HTTP_V3)
+ ngx_uint_t h3_length;
+ ngx_uint_t h3_index;
+ ngx_uint_t h3_insert_count;
+ ngx_uint_t h3_sign;
+ ngx_uint_t h3_delta_base;
+ ngx_uint_t h3_huffman;
+ ngx_uint_t h3_dynamic;
+ ngx_uint_t h3_offset;
+#endif
+
unsigned http_minor:16;
unsigned http_major:16;
};