Mercurial > hg > nginx-site
changeset 1834:1d0811707e09
Documented the "http2_max_requests" directive.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Wed, 02 Nov 2016 14:56:48 +0300 |
parents | 0c4b43e26cea |
children | 0ba8d161c354 |
files | xml/en/docs/http/ngx_http_v2_module.xml xml/ru/docs/http/ngx_http_v2_module.xml |
diffstat | 2 files changed, 38 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_v2_module.xml +++ b/xml/en/docs/http/ngx_http_v2_module.xml @@ -9,7 +9,7 @@ <module name="Module ngx_http_v2_module" link="/en/docs/http/ngx_http_v2_module.html" lang="en" - rev="7"> + rev="8"> <section id="summary"> @@ -179,6 +179,24 @@ For most requests, the default limit sho </directive> +<directive name="http2_max_requests"> +<syntax><value>number</value></syntax> +<default>1000</default> +<context>http</context> +<context>server</context> +<context>location</context> +<appeared-in>1.11.6</appeared-in> + +<para> +Sets the maximum number of requests that can be +served through one HTTP/2 connection, +after which the connection is closed +and the client should use a new connection. +</para> + +</directive> + + <directive name="http2_recv_buffer_size"> <syntax><value>size</value></syntax> <default>256k</default>
--- a/xml/ru/docs/http/ngx_http_v2_module.xml +++ b/xml/ru/docs/http/ngx_http_v2_module.xml @@ -9,7 +9,7 @@ <module name="Модуль ngx_http_v2_module" link="/ru/docs/http/ngx_http_v2_module.html" lang="ru" - rev="7"> + rev="8"> <section id="summary"> @@ -179,6 +179,24 @@ server { </directive> +<directive name="http2_max_requests"> +<syntax><value>число</value></syntax> +<default>1000</default> +<context>http</context> +<context>server</context> +<context>location</context> +<appeared-in>1.11.6</appeared-in> + +<para> +Задаёт максимальное число запросов, которые можно +сделать по одному соединению HTTP/2, +после чего соединение закрывается +и клиенту необходимо использовать новое соединение. +</para> + +</directive> + + <directive name="http2_recv_buffer_size"> <syntax><value>размер</value></syntax> <default>256k</default>