changeset 2464:5d7fd7d9a2b6

Documented limit_conn_dry_run for http and stream.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 19 Nov 2019 17:54:10 +0300
parents 253bbbc276ae
children 07c4f2c66c97
files xml/en/docs/http/ngx_http_limit_conn_module.xml xml/en/docs/stream/ngx_stream_limit_conn_module.xml xml/ru/docs/http/ngx_http_limit_conn_module.xml xml/ru/docs/stream/ngx_stream_limit_conn_module.xml
diffstat 4 files changed, 74 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_limit_conn_module.xml
+++ b/xml/en/docs/http/ngx_http_limit_conn_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_limit_conn_module"
         link="/en/docs/http/ngx_http_limit_conn_module.html"
         lang="en"
-        rev="10">
+        rev="11">
 
 <section id="summary">
 
@@ -109,6 +109,24 @@ directives on the current level.
 </directive>
 
 
+<directive name="limit_conn_dry_run">
+<syntax><literal>on</literal> | <literal>off</literal></syntax>
+<default>off</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.17.6</appeared-in>
+
+<para>
+Enables the dry run mode.
+In this mode, the number of connections is not limited, however,
+in the shared memory zone, the number of excessive connections is accounted
+as usual.
+</para>
+
+</directive>
+
+
 <directive name="limit_conn_log_level">
 <syntax>
 <literal>info</literal> |
--- a/xml/en/docs/stream/ngx_stream_limit_conn_module.xml
+++ b/xml/en/docs/stream/ngx_stream_limit_conn_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_stream_limit_conn_module"
         link="/en/docs/stream/ngx_stream_limit_conn_module.html"
         lang="en"
-        rev="3">
+        rev="4">
 
 <section id="summary">
 
@@ -85,6 +85,23 @@ directives on the current level.
 </directive>
 
 
+<directive name="limit_conn_dry_run">
+<syntax><literal>on</literal> | <literal>off</literal></syntax>
+<default>off</default>
+<context>stream</context>
+<context>server</context>
+<appeared-in>1.17.6</appeared-in>
+
+<para>
+Enables the dry run mode.
+In this mode, the number of connections is not limited, however,
+in the shared memory zone, the number of excessive connections is accounted
+as usual.
+</para>
+
+</directive>
+
+
 <directive name="limit_conn_log_level">
 <syntax>
 <literal>info</literal> |
--- a/xml/ru/docs/http/ngx_http_limit_conn_module.xml
+++ b/xml/ru/docs/http/ngx_http_limit_conn_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_limit_conn_module"
         link="/ru/docs/http/ngx_http_limit_conn_module.html"
         lang="ru"
-        rev="10">
+        rev="11">
 
 <section id="summary">
 
@@ -106,6 +106,24 @@ server {
 </directive>
 
 
+<directive name="limit_conn_dry_run">
+<syntax><literal>on</literal> | <literal>off</literal></syntax>
+<default>off</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.17.6</appeared-in>
+
+<para>
+Включает режим пробного запуска.
+В данном режиме число соединений не ограничивается, однако
+в зоне разделяемой памяти текущее число избыточных соединений учитывается
+как обычно.
+</para>
+
+</directive>
+
+
 <directive name="limit_conn_log_level">
 <syntax>
 <literal>info</literal> |
--- a/xml/ru/docs/stream/ngx_stream_limit_conn_module.xml
+++ b/xml/ru/docs/stream/ngx_stream_limit_conn_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_stream_limit_conn_module"
         link="/ru/docs/stream/ngx_stream_limit_conn_module.html"
         lang="ru"
-        rev="3">
+        rev="4">
 
 <section id="summary">
 
@@ -86,6 +86,23 @@ IP-адреса.
 </directive>
 
 
+<directive name="limit_conn_dry_run">
+<syntax><literal>on</literal> | <literal>off</literal></syntax>
+<default>off</default>
+<context>stream</context>
+<context>server</context>
+<appeared-in>1.17.6</appeared-in>
+
+<para>
+Включает режим пробного запуска.
+В данном режиме число соединений не ограничивается, однако
+в зоне разделяемой памяти текущее число избыточных соединений учитывается
+как обычно.
+</para>
+
+</directive>
+
+
 <directive name="limit_conn_log_level">
 <syntax>
 <literal>info</literal> |