]> git.ipfire.org Git - thirdparty/squid.git/commit
Remove origin_tries limiter on forwarding
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 19 May 2013 02:35:36 +0000 (20:35 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 19 May 2013 02:35:36 +0000 (20:35 -0600)
commitf2e70deefcdfc04f9c5068887de7490cdd6501ce
treec8377105ee28dac605e6167447bb719f9c6e95de
parentfa6321c7033d763785d8fdb332a555bb274b1b71
Remove origin_tries limiter on forwarding

This limit seems to have been set to prevent large amount of looping when
DIRECT attempts fail under the old model of constant DNS lookups and
retries.

However it is hard-coded and has no configuration knob visible. Under
the curent model of all destinations being enumerated once and tried
sequentially this protection would seem to be no longer necessary and
somewhat harmful as it will be preventing retries reaching destinations
with more than 2 unreachable IPs (think 3 IPv6 and an IPv4 on IPv4-only
network).
src/forward.cc
src/forward.h