]> 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)
committerAmos Jeffries <yadij@users.noreply.github.com>
Sat, 3 Aug 2019 06:34:33 +0000 (18:34 +1200)
commit09cbf4a733bf68ae86c43f2537f79d10de92b6df
treedb1a0717973eb45ea65a4988a3e07aee3e721701
parent36492033ea4097821a4f7ff3ddcb971fbd1e8ba0
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