]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 4966: Lower cache_peer hostname (#420)
authoruhliarik <luhliari@redhat.com>
Mon, 15 Jul 2019 03:42:39 +0000 (03:42 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Mon, 15 Jul 2019 03:42:44 +0000 (03:42 +0000)
commitd3527ec67a9ddad9c189ae360d4f6181d5413bfa
tree0d37d87939d20e8e471586c11a4c78dc940e718d
parent329c128c374643384d36b2320fa4a0ccf0cd0d72
Bug 4966: Lower cache_peer hostname (#420)

When parsing entries from /etc/hosts file, they are all lowered
(see bug 3040). If cache_peer hostname is uppercase, it will
lead to DNS resolution failure. Lowering cache_peer host fixes
this issue.

This change may expose broken Squid configurations that
incorrectly relied on non-lowercase peer host names to
bypass Squid's "is this cache_peer different from me?"
check. Though such configurations should encounter
forwarding loop errors later anyway.
src/cache_cf.cc