changeset 1393:15e8779f0ceb

Documented the $upstream_header_time variable.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 19 Jan 2015 15:24:15 +0300
parents 82e62822abe8
children 66f227952864
files xml/en/docs/http/ngx_http_upstream_module.xml xml/ru/docs/http/ngx_http_upstream_module.xml
diffstat 2 files changed, 24 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_upstream_module.xml
+++ b/xml/en/docs/http/ngx_http_upstream_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_upstream_module"
         link="/en/docs/http/ngx_http_upstream_module.html"
         lang="en"
-        rev="32">
+        rev="33">
 
 <section id="summary">
 
@@ -1317,6 +1317,17 @@ in the <header>Set-Cookie</header> respo
 Only the cookies from the response of the last server are saved.
 </tag-desc>
 
+<tag-name id="var_upstream_header_time"><var>$upstream_header_time</var>
+</tag-name>
+<tag-desc>
+keeps time
+spent on receiving the response header from the upstream server (1.7.10);
+the time is kept in seconds with millisecond resolution.
+Times of several responses
+are separated by commas and colons like addresses in the
+<link id="var_upstream_addr">$upstream_addr</link> variable.
+</tag-desc>
+
 <tag-name id="var_upstream_http_"><var>$upstream_http_</var><value>name</value></tag-name>
 <tag-desc>
 keep server response header fields.
--- a/xml/ru/docs/http/ngx_http_upstream_module.xml
+++ b/xml/ru/docs/http/ngx_http_upstream_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_upstream_module"
         link="/ru/docs/http/ngx_http_upstream_module.html"
         lang="ru"
-        rev="32">
+        rev="33">
 
 <section id="summary">
 
@@ -1330,6 +1330,17 @@ http://127.0.0.1/upstream_conf?upstream=
 последнего сервера.
 </tag-desc>
 
+<tag-name id="var_upstream_header_time"><var>$upstream_header_time</var>
+</tag-name>
+<tag-desc>
+хранит время,
+затраченное на получение заголовка ответа от сервера группы (1.7.10);
+время хранится в секундах с точностью до миллисекунд.
+Времена нескольких ответов
+разделяются запятыми и двоеточиями подобно адресам в переменной
+<link id="var_upstream_addr">$upstream_addr</link>.
+</tag-desc>
+
 <tag-name id="var_upstream_http_"><var>$upstream_http_</var><value>имя</value></tag-name>
 <tag-desc>
 хранят поля заголовка ответа сервера.