Mercurial > hg > nginx-quic
diff src/http/v3/ngx_http_v3.h @ 8360:98c4020f1c9a quic
HTTP/3: keepalive timeout.
This timeout limits the time when no client request streams exist.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Tue, 30 Mar 2021 16:48:38 +0300 |
parents | fc64ab301bad |
children | cc3e9c131d79 |
line wrap: on
line diff
--- 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;