From: Silamael Date: Sun, 19 May 2013 03:32:38 +0000 (-0600) Subject: Add missing piece omitted from rev.9677 X-Git-Tag: SQUID_3_2_12~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e469f20ba7ae91a936f68dbd74358929ebd9cb6;p=thirdparty%2Fsquid.git Add missing piece omitted from rev.9677 rev.9677 created forward_max_tries directive but omitted one of the checks. This adds that check and allows forward_max_tries to be set to values greater than 10. --- diff --git a/src/forward.cc b/src/forward.cc index 6c1e9975eb..9b25cb2e6c 100644 --- a/src/forward.cc +++ b/src/forward.cc @@ -515,7 +515,7 @@ FwdState::checkRetry() if (!entry->isEmpty()) return false; - if (n_tries > 10) + if (n_tries > Config.forward_max_tries) return false; if (origin_tries > 2)