From 09fff88b46fd297b75c79d608d4bf436d273dd21 Mon Sep 17 00:00:00 2001 From: Silamael Date: Sat, 18 May 2013 20:38:40 -0600 Subject: [PATCH] Bug 2648: 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. --- src/forward.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/forward.cc b/src/forward.cc index d1e05a4e01..295e6dfc57 100644 --- a/src/forward.cc +++ b/src/forward.cc @@ -545,7 +545,7 @@ FwdState::checkRetry() if (!entry->isEmpty()) return false; - if (n_tries > 10) + if (n_tries > Config.forward_max_tries) return false; if (squid_curtime - start_t > Config.Timeout.forward) -- 2.47.2