changeset 390:bef9e1a2e3c8

Documented the fact that empty values are not accounted in zones.
author Ruslan Ermilov <ru@nginx.com>
date Fri, 03 Feb 2012 12:16:28 +0000
parents 7a78f70f1cca
children 1702722eca07
files xml/en/docs/http/ngx_http_limit_conn_module.xml xml/en/docs/http/ngx_http_limit_req_module.xml xml/ru/docs/http/ngx_http_limit_conn_module.xml xml/ru/docs/http/ngx_http_limit_req_module.xml
diffstat 4 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_limit_conn_module.xml	Fri Feb 03 05:31:33 2012 +0000
+++ b/xml/en/docs/http/ngx_http_limit_conn_module.xml	Fri Feb 03 12:16:28 2012 +0000
@@ -130,7 +130,8 @@
 <para>
 Sets the parameters for a zone that keeps states for various keys.
 This state stores the current number of connections in particular.
-The key is the value of the specified variable.
+The key is any non-empty value of the specified variable
+(empty values are not accounted).
 Example usage:
 <example>
 limit_conn_zone $binary_remote_addr zone=addr:10m;
--- a/xml/en/docs/http/ngx_http_limit_req_module.xml	Fri Feb 03 05:31:33 2012 +0000
+++ b/xml/en/docs/http/ngx_http_limit_req_module.xml	Fri Feb 03 12:16:28 2012 +0000
@@ -121,7 +121,8 @@
 <para>
 Sets the parameters for a zone that keeps states for various keys.
 This state stores the current number of requests in particular.
-The key is the value of the specified variable.
+The key is any non-empty value of the specified variable
+(empty values are not accounted). 
 Example usage:
 <example>
 limit_req_zone $binary_remote_addr zone=one:10m rate=1r/s;
--- a/xml/ru/docs/http/ngx_http_limit_conn_module.xml	Fri Feb 03 05:31:33 2012 +0000
+++ b/xml/ru/docs/http/ngx_http_limit_conn_module.xml	Fri Feb 03 12:16:28 2012 +0000
@@ -130,7 +130,8 @@
 Задаёт параметры зоны, которая хранит состояние
 для разных значений ключа.
 Состояние в частности хранит текущее число соединений.
-Ключом является значение заданной переменной.
+Ключом является любое непустое значение заданной переменной
+(пустые значения не учитываются).
 Пример использования:
 <example>
 limit_conn_zone $binary_remote_addr zone=addr:10m;
--- a/xml/ru/docs/http/ngx_http_limit_req_module.xml	Fri Feb 03 05:31:33 2012 +0000
+++ b/xml/ru/docs/http/ngx_http_limit_req_module.xml	Fri Feb 03 12:16:28 2012 +0000
@@ -121,7 +121,8 @@
 Задаёт параметры зоны,
 которая хранит состояние для разных значений ключа.
 Состояние в частности хранит текущее число запросов.
-Ключом является значение заданной переменной.
+Ключом является любое непустое значение заданной переменной
+(пустые значения не учитываются).
 Пример использования:
 <example>
 limit_req_zone $binary_remote_addr zone=one:10m rate=1r/s;