comparison xml/en/docs/http/ngx_http_upstream_module.xml @ 1481:f29398a167d0

Documented the upstream_connect_time variable.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 19 May 2015 10:48:28 +0300
parents 4e5cab61e548
children 8d134b482cc3
comparison
equal deleted inserted replaced
1480:d1e1a8d34bce 1481:f29398a167d0
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
9 9
10 <module name="Module ngx_http_upstream_module" 10 <module name="Module ngx_http_upstream_module"
11 link="/en/docs/http/ngx_http_upstream_module.html" 11 link="/en/docs/http/ngx_http_upstream_module.html"
12 lang="en" 12 lang="en"
13 rev="37"> 13 rev="38">
14 14
15 <section id="summary"> 15 <section id="summary">
16 16
17 <para> 17 <para>
18 The <literal>ngx_http_upstream_module</literal> module 18 The <literal>ngx_http_upstream_module</literal> module
1108 “<literal>BYPASS</literal>”, “<literal>EXPIRED</literal>”, 1108 “<literal>BYPASS</literal>”, “<literal>EXPIRED</literal>”,
1109 “<literal>STALE</literal>”, “<literal>UPDATING</literal>”, 1109 “<literal>STALE</literal>”, “<literal>UPDATING</literal>”,
1110 “<literal>REVALIDATED</literal>”, or “<literal>HIT</literal>”. 1110 “<literal>REVALIDATED</literal>”, or “<literal>HIT</literal>”.
1111 </tag-desc> 1111 </tag-desc>
1112 1112
1113 <tag-name id="var_upstream_connect_time"><var>$upstream_connect_time</var>
1114 </tag-name>
1115 <tag-desc>
1116 keeps time spent on establishing a connection with the upstream server (1.9.1);
1117 the time is kept in seconds with millisecond resolution.
1118 In case of SSL, includes time spent on handshake.
1119 Times of several connections
1120 are separated by commas and colons like addresses in the
1121 <link id="var_upstream_addr">$upstream_addr</link> variable.
1122 </tag-desc>
1123
1113 <tag-name id="var_upstream_cookie_"><var>$upstream_cookie_</var><value>name</value> 1124 <tag-name id="var_upstream_cookie_"><var>$upstream_cookie_</var><value>name</value>
1114 </tag-name> 1125 </tag-name>
1115 <tag-desc> 1126 <tag-desc>
1116 cookie with the specified <value>name</value> sent by the upstream server 1127 cookie with the specified <value>name</value> sent by the upstream server
1117 in the <header>Set-Cookie</header> response header field (1.7.1). 1128 in the <header>Set-Cookie</header> response header field (1.7.1).