comparison xml/en/docs/http/ngx_http_memcached_module.xml @ 942:ba3d6ade3513

Elaborate on upstream server failures. Documented that {proxy,fastcgi,memcached}_next_upstream directives define what is considered an unsuccessful attempt of communication with a server.
author Ruslan Ermilov <ru@nginx.com>
date Fri, 05 Jul 2013 10:40:38 +0400
parents 3a374868c798
children 95c3c3bbf1ce
comparison
equal deleted inserted replaced
941:7d1d53d4d293 942:ba3d6ade3513
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
9 9
10 <module name="Module ngx_http_memcached_module" 10 <module name="Module ngx_http_memcached_module"
11 link="/en/docs/http/ngx_http_memcached_module.html" 11 link="/en/docs/http/ngx_http_memcached_module.html"
12 lang="en" 12 lang="en"
13 rev="5"> 13 rev="6">
14 14
15 <section id="summary"> 15 <section id="summary">
16 16
17 <para> 17 <para>
18 The <literal>ngx_http_memcached_module</literal> module allows to obtain 18 The <literal>ngx_http_memcached_module</literal> module allows to obtain
158 <para> 158 <para>
159 It should be understood that passing a request to the next server is 159 It should be understood that passing a request to the next server is
160 only possible if a client was not sent anything yet. 160 only possible if a client was not sent anything yet.
161 That is, if an error or a timeout occurs in the middle of 161 That is, if an error or a timeout occurs in the middle of
162 transferring a response, fixing this is impossible. 162 transferring a response, fixing this is impossible.
163 </para>
164
165 <para>
166 The directive also defines what is considered an unsuccessful attempt
167 of communication with a
168 <link doc="ngx_http_upstream_module.xml" id="server"/>.
169 The cases of <literal>error</literal>, <literal>timeout</literal> and
170 <literal>invalid_header</literal> are always considered unsuccessful attempts,
171 even if they are not specified in the directive.
172 The case of <literal>not_found</literal>
173 is never considered an unsuccessful attempt.
163 </para> 174 </para>
164 175
165 </directive> 176 </directive>
166 177
167 178