changeset 2654:d13341d3c54a

Marked some directives as obsolete in HTTP/2. The following directives are marked as obsolete: http2_idle_timeout, http2_max_field_size, http2_max_header_size, http2_max_requests, http2_recv_timeout.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 16 Feb 2021 14:17:10 +0000
parents 9fc25ea7a92c
children eb417a9a089b
files xml/en/docs/http/ngx_http_v2_module.xml xml/ru/docs/http/ngx_http_v2_module.xml
diffstat 2 files changed, 82 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="13">
+        rev="14">
 
 <section id="summary">
 
@@ -127,6 +127,14 @@ HOL blocking</link>.
 <context>server</context>
 
 <para>
+<note>
+This directive is obsolete since version 1.19.7.
+The <link doc="ngx_http_core_module.xml" id="keepalive_timeout"/>
+directive should be used instead.
+</note>
+</para>
+
+<para>
 Sets the timeout of inactivity after which the connection is closed.
 </para>
 
@@ -169,6 +177,14 @@ in a connection.
 <context>server</context>
 
 <para>
+<note>
+This directive is obsolete since version 1.19.7.
+The <link doc="ngx_http_core_module.xml" id="large_client_header_buffers"/>
+directive should be used instead.
+</note>
+</para>
+
+<para>
 Limits the maximum size of
 an <link url="https://tools.ietf.org/html/rfc7541">HPACK</link>-compressed
 request header field.
@@ -188,6 +204,14 @@ For most requests, the default limit sho
 <context>server</context>
 
 <para>
+<note>
+This directive is obsolete since version 1.19.7.
+The <link doc="ngx_http_core_module.xml" id="large_client_header_buffers"/>
+directive should be used instead.
+</note>
+</para>
+
+<para>
 Limits the maximum size of the entire request header list after
 <link url="https://tools.ietf.org/html/rfc7541">HPACK</link> decompression.
 For most requests, the default limit should be enough.
@@ -204,6 +228,14 @@ For most requests, the default limit sho
 <appeared-in>1.11.6</appeared-in>
 
 <para>
+<note>
+This directive is obsolete since version 1.19.7.
+The <link doc="ngx_http_core_module.xml" id="keepalive_requests"/>
+directive should be used instead.
+</note>
+</para>
+
+<para>
 Sets the maximum number of requests (including
 <link id="http2_push">push</link> requests) that can be served
 through one HTTP/2 connection,
@@ -294,6 +326,14 @@ input buffer.
 <context>server</context>
 
 <para>
+<note>
+This directive is obsolete since version 1.19.7.
+The <link doc="ngx_http_core_module.xml" id="client_header_timeout"/>
+directive should be used instead.
+</note>
+</para>
+
+<para>
 Sets the timeout for expecting more data from the client,
 after which the connection is closed.
 </para>
--- 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="13">
+        rev="14">
 
 <section id="summary">
 
@@ -127,6 +127,14 @@ server {
 <context>server</context>
 
 <para>
+<note>
+Эта директива устарела начиная с версии 1.19.7.
+Вместо неё следует использовать директиву
+<link doc="ngx_http_core_module.xml" id="keepalive_timeout"/>.
+</note>
+</para>
+
+<para>
 Задаёт таймаут неактивности, после которого соединение закрывается.
 </para>
 
@@ -169,6 +177,14 @@ server {
 <context>server</context>
 
 <para>
+<note>
+Эта директива устарела начиная с версии 1.19.7.
+Вместо неё следует использовать директиву
+<link doc="ngx_http_core_module.xml" id="large_client_header_buffers"/>.
+</note>
+</para>
+
+<para>
 Ограничивает максимальный размер
 заголовка запроса, сжатого при помощи
 <link url="https://tools.ietf.org/html/rfc7541">HPACK</link>.
@@ -188,6 +204,14 @@ server {
 <context>server</context>
 
 <para>
+<note>
+Эта директива устарела начиная с версии 1.19.7.
+Вместо неё следует использовать директиву
+<link doc="ngx_http_core_module.xml" id="large_client_header_buffers"/>.
+</note>
+</para>
+
+<para>
 Ограничивает максимальный размер всего списка заголовков запроса после
 распаковки <link url="https://tools.ietf.org/html/rfc7541">HPACK</link>.
 Ограничение по умолчанию подходит для большинства запросов.
@@ -204,6 +228,14 @@ server {
 <appeared-in>1.11.6</appeared-in>
 
 <para>
+<note>
+Эта директива устарела начиная с версии 1.19.7.
+Вместо неё следует использовать директиву
+<link doc="ngx_http_core_module.xml" id="keepalive_requests"/>.
+</note>
+</para>
+
+<para>
 Задаёт максимальное число запросов (включая
 <link id="http2_push">push</link>-запросы), которые можно
 сделать по одному соединению HTTP/2,
@@ -293,6 +325,14 @@ links</link>,
 <context>server</context>
 
 <para>
+<note>
+Эта директива устарела начиная с версии 1.19.7.
+Вместо неё следует использовать директиву
+<link doc="ngx_http_core_module.xml" id="client_header_timeout"/>.
+</note>
+</para>
+
+<para>
 Задаёт таймаут в случае, когда от клиента ожидаются ещё данные,
 после которого соединение закрывается.
 </para>