]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 3478: workaround: better default handling without -DSTRICT_ORIGINAL_DST
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 10 Aug 2012 02:41:14 +0000 (14:41 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 10 Aug 2012 02:41:14 +0000 (14:41 +1200)
commit32c32865fedbcce65a1ada3be09bd9eff0281256
tree2b6e1e9342a6810c8ef59e69760daf3d6f092d00
parent9bf7a01b910d79a56c31911239eb14ea4d2ab8ef
Bug 3478: workaround: better default handling without -DSTRICT_ORIGINAL_DST

This extends the -DSTRICT_ORIGINAL_DST compile-time flag to include the
logics listing ORIGINAL_DST as first preferred destination.

Which makes ORIGINAL_DST a swap-in replacement for DIRECT and enables
never_direct, always_direct, prefer_direct configuration to apply.
src/cf.data.pre
src/forward.cc
src/forward.h