aboutsummaryrefslogtreecommitdiff
path: root/src/http/v3/ngx_http_v3.h
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2021-03-30 16:48:38 +0300
committerRoman Arutyunyan <arut@nginx.com>2021-03-30 16:48:38 +0300
commitf4ab680bcb34d832a1dfd086e3641bf78c0a207c (patch)
tree3d860eb088a56835a7a9463f96d3f70986e0cf01 /src/http/v3/ngx_http_v3.h
parent9533df5b728833dd516f44d18953a3731c29e787 (diff)
downloadnginx-f4ab680bcb34d832a1dfd086e3641bf78c0a207c.tar.gz
nginx-f4ab680bcb34d832a1dfd086e3641bf78c0a207c.zip
HTTP/3: keepalive timeout.
This timeout limits the time when no client request streams exist.
Diffstat (limited to 'src/http/v3/ngx_http_v3.h')
-rw-r--r--src/http/v3/ngx_http_v3.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/http/v3/ngx_http_v3.h b/src/http/v3/ngx_http_v3.h
index be0ed127d..7fba09056 100644
--- a/src/http/v3/ngx_http_v3.h
+++ b/src/http/v3/ngx_http_v3.h
@@ -74,6 +74,11 @@
#define NGX_HTTP_V3_ERR_DECODER_STREAM_ERROR 0x202
+#define ngx_http_v3_get_module_loc_conf(c, module) \
+ ngx_http_get_module_loc_conf( \
+ ((ngx_http_v3_connection_t *) c->quic->parent->data)->hc.conf_ctx, \
+ module)
+
#define ngx_http_v3_get_module_srv_conf(c, module) \
ngx_http_get_module_srv_conf( \
((ngx_http_v3_connection_t *) c->quic->parent->data)->hc.conf_ctx, \
@@ -128,6 +133,9 @@ typedef struct {
ngx_http_connection_t hc;
ngx_http_v3_dynamic_table_t table;
+ ngx_event_t keepalive;
+ ngx_uint_t nrequests;
+
ngx_queue_t blocked;
ngx_uint_t nblocked;