mod_proxy: add retry=0 to ProxyPass release_20150523
authorClinton Ebadi <clinton@unknownlamer.org>
Sat, 23 May 2015 17:50:57 +0000 (13:50 -0400)
committerClinton Ebadi <clinton@unknownlamer.org>
Sat, 23 May 2015 17:50:57 +0000 (13:50 -0400)
Wheezy's apache will not retry a backend for 60s after two failures,
which results in surprising behavior for members used to the behavior
on previous apache versions.

src/plugins/apache.sml

index 40db891..42b0564 100644 (file)
@@ -682,7 +682,7 @@ val () = Env.action_two "proxyPass"
                  write from;
                  write "\t";
                  write to;
-                 write "\n"))
+                 write "\tretry=0\n"))
 
 val () = Env.action_two "proxyPassReverse"
         ("from", Env.string, "to", Env.string)