diff 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
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_memcached_module.xml	Fri Jul 05 08:11:37 2013 +0400
+++ b/xml/en/docs/http/ngx_http_memcached_module.xml	Fri Jul 05 10:40:38 2013 +0400
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_memcached_module"
         link="/en/docs/http/ngx_http_memcached_module.html"
         lang="en"
-        rev="5">
+        rev="6">
 
 <section id="summary">
 
@@ -162,6 +162,17 @@
 transferring a response, fixing this is impossible.
 </para>
 
+<para>
+The directive also defines what is considered an unsuccessful attempt
+of communication with a
+<link doc="ngx_http_upstream_module.xml" id="server"/>.
+The cases of <literal>error</literal>, <literal>timeout</literal> and
+<literal>invalid_header</literal> are always considered unsuccessful attempts,
+even if they are not specified in the directive.
+The case of <literal>not_found</literal>
+is never considered an unsuccessful attempt.
+</para>
+
 </directive>