changeset 2977:e4718be70b33

Deprecated HTTP/2 Server Push directives.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 13 Jun 2023 19:24:58 +0100
parents cbd963190c15
children 2b02fee0d12e
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="16">
+        rev="17">
 
 <section id="summary">
 
@@ -164,6 +164,12 @@ Sets the timeout of inactivity after whi
 <appeared-in>1.13.9</appeared-in>
 
 <para>
+<note>
+This directive is obsolete since version 1.25.1.
+</note>
+</para>
+
+<para>
 Limits the maximum number of concurrent
 <link id="http2_push">push</link> requests in a connection.
 </para>
@@ -277,6 +283,12 @@ could result in excessive memory usage a
 <appeared-in>1.13.9</appeared-in>
 
 <para>
+<note>
+This directive is obsolete since version 1.25.1.
+</note>
+</para>
+
+<para>
 Pre-emptively sends
 (<link url="https://datatracker.ietf.org/doc/html/rfc7540#section-8.2">pushes</link>)
 a request to the specified <value>uri</value>
@@ -309,6 +321,12 @@ inherited from the previous configuratio
 <appeared-in>1.13.9</appeared-in>
 
 <para>
+<note>
+This directive is obsolete since version 1.25.1.
+</note>
+</para>
+
+<para>
 Enables automatic conversion of
 <link url="https://www.w3.org/TR/preload/#server-push-http-2">preload
 links</link>
--- 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="16">
+        rev="17">
 
 <section id="summary">
 
@@ -164,6 +164,12 @@ server {
 <appeared-in>1.13.9</appeared-in>
 
 <para>
+<note>
+Эта директива устарела начиная с версии 1.25.1.
+</note>
+</para>
+
+<para>
 Ограничивает максимальное число параллельных
 <link id="http2_push">push</link>-запросов в соединении.
 </para>
@@ -277,6 +283,12 @@ server {
 <appeared-in>1.13.9</appeared-in>
 
 <para>
+<note>
+Эта директива устарела начиная с версии 1.25.1.
+</note>
+</para>
+
+<para>
 Заблаговременно отправляет
 (<link url="https://datatracker.ietf.org/doc/html/rfc7540#section-8.2">push</link>) запрос
 к заданному <value>uri</value>
@@ -309,6 +321,12 @@ http2_push /static/css/main.css;
 <appeared-in>1.13.9</appeared-in>
 
 <para>
+<note>
+Эта директива устарела начиная с версии 1.25.1.
+</note>
+</para>
+
+<para>
 Разрешает автоматическое преобразование
 <link url="https://www.w3.org/TR/preload/#server-push-http-2">preload
 links</link>,