summaryrefslogtreecommitdiffhomepage
path: root/src/http/v2/ngx_http_v2_module.h
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2016-10-31 16:33:02 +0300
committerValentin Bartenev <vbart@nginx.com>2016-10-31 16:33:02 +0300
commitdf9b2b9011b89614b143808f983ace8ced0f8873 (patch)
tree4edfb5f340cd86f5552794c9d6345ccc95d3d2e0 /src/http/v2/ngx_http_v2_module.h
parent271d306056b0e318a63e62acd9f88c6e18ce6162 (diff)
downloadnginx-df9b2b9011b89614b143808f983ace8ced0f8873.tar.gz
nginx-df9b2b9011b89614b143808f983ace8ced0f8873.tar.bz2
HTTP/2: limited maximum number of requests in connection.
The new directive "http2_max_requests" is introduced. From users point of view it works quite similar to "keepalive_requests" but has significantly bigger default value that is more suitable for HTTP/2.
Diffstat (limited to 'src/http/v2/ngx_http_v2_module.h')
-rw-r--r--src/http/v2/ngx_http_v2_module.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/v2/ngx_http_v2_module.h b/src/http/v2/ngx_http_v2_module.h
index 91f97c253..540f8267c 100644
--- a/src/http/v2/ngx_http_v2_module.h
+++ b/src/http/v2/ngx_http_v2_module.h
@@ -23,6 +23,7 @@ typedef struct {
typedef struct {
size_t pool_size;
ngx_uint_t concurrent_streams;
+ ngx_uint_t max_requests;
size_t max_field_size;
size_t max_header_size;
size_t preread_size;