Skip to content

Commit 7ce55f6

Browse files
committed
Documented the keepalive_min_timeout directive.
1 parent 9b33611 commit 7ce55f6

File tree

2 files changed

+36
-2
lines changed

2 files changed

+36
-2
lines changed

xml/en/docs/http/ngx_http_core_module.xml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<module name="Module ngx_http_core_module"
1111
link="/en/docs/http/ngx_http_core_module.html"
1212
lang="en"
13-
rev="106">
13+
rev="107">
1414

1515
<section id="directives" name="Directives">
1616

@@ -935,6 +935,23 @@ keep-alive connections with them were disabled by default.
935935
</directive>
936936

937937

938+
<directive name="keepalive_min_timeout">
939+
<syntax><value>timeout</value></syntax>
940+
<default>0</default>
941+
<context>http</context>
942+
<context>server</context>
943+
<context>location</context>
944+
<appeared-in>1.27.4</appeared-in>
945+
946+
<para>
947+
Sets a timeout during which a keep-alive
948+
client connection will not be closed on the server side
949+
for connection reuse or on graceful shutdown of worker processes.
950+
</para>
951+
952+
</directive>
953+
954+
938955
<directive name="keepalive_requests">
939956
<syntax><value>number</value></syntax>
940957
<default>1000</default>

xml/ru/docs/http/ngx_http_core_module.xml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<module name="Модуль ngx_http_core_module"
1111
link="/ru/docs/http/ngx_http_core_module.html"
1212
lang="ru"
13-
rev="106">
13+
rev="107">
1414

1515
<section id="directives" name="Директивы">
1616

@@ -929,6 +929,23 @@ location = /404.html {
929929
</directive>
930930

931931

932+
<directive name="keepalive_min_timeout">
933+
<syntax><value>таймаут</value></syntax>
934+
<default>0</default>
935+
<context>http</context>
936+
<context>server</context>
937+
<context>location</context>
938+
<appeared-in>1.27.4</appeared-in>
939+
940+
<para>
941+
Задаёт таймаут, в течение которого keep-alive
942+
соединение с клиентом не будет закрыто на стороне сервера
943+
для повторного использования или при плавном завершении рабочих процессов.
944+
</para>
945+
946+
</directive>
947+
948+
932949
<directive name="keepalive_requests">
933950
<syntax><value>число</value></syntax>
934951
<default>1000</default>

0 commit comments

Comments
 (0)