Mercurial > hg > nginx-site
changeset 835:e0263d44a59b
Http core: documented "keepalive_timeout 0".
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 07 Feb 2013 16:59:52 +0400 |
parents | 1a6cb3e282fe |
children | f563967a4f59 |
files | xml/en/docs/http/ngx_http_core_module.xml xml/ru/docs/http/ngx_http_core_module.xml |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_core_module.xml +++ b/xml/en/docs/http/ngx_http_core_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_core_module" link="/en/docs/http/ngx_http_core_module.html" lang="en" - rev="15"> + rev="16"> <section id="directives" name="Directives"> @@ -862,6 +862,7 @@ After this many requests are made, the c <para> The first parameter sets a timeout during which a keep-alive client connection will stay open on the server side. +The value of zero disables keep-alive client connections. The optional second parameter sets a value in the <header>Keep-Alive: timeout=<value>time</value></header> response header field.
--- a/xml/ru/docs/http/ngx_http_core_module.xml +++ b/xml/ru/docs/http/ngx_http_core_module.xml @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_core_module" link="/ru/docs/http/ngx_http_core_module.html" lang="ru" - rev="15"> + rev="16"> <section id="directives" name="Директивы"> @@ -849,6 +849,7 @@ location /404.html { <para> Первый параметр задаёт таймаут, в течение которого keep-alive соединение с клиентом не будет закрыто со стороны сервера. +Значение 0 запрещает keep-alive соединения с клиентами. Второй необязательный параметр задаёт значение в поле <header>Keep-Alive: timeout=<value>время</value></header> заголовка ответа.