]> git.ipfire.org Git - thirdparty/squid.git/commit
Remove origin_tries limiter on forwarding
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 13 May 2013 16:21:23 +0000 (10:21 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 13 May 2013 16:21:23 +0000 (10:21 -0600)
commitcb0fa5ba276542fb1d0b7c9a37be4bc5412477e8
treeb07b4d383451093ed89b98f44e2a2307b1ed8f1a
parent16b1fd57f9a6656077195f3ac990a61f85382be5
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