Disable collapsed forwarding for squid 4
authorTom Hughes <tom@compton.nu>
Mon, 10 Jun 2019 08:47:37 +0000 (09:47 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 10 Jun 2019 08:47:37 +0000 (09:47 +0100)
cookbooks/squid/templates/default/squid.conf.erb

index 0b8189d..2861daa 100644 (file)
@@ -64,7 +64,9 @@ request_timeout 90 seconds
 connect_timeout 20 seconds
 client_lifetime 1 hours
 
+<% if node[:squid][:version] < 4 -%>
 collapsed_forwarding on
+<% end -%>
 <% if node[:squid][:version] < 3 -%>
 refresh_stale_hit 300 seconds
 <% end -%>