[Bug 640511] [NEW] squid in lucid adds bogus port number to Host: line if one isn't provided (in original or via vport=)
James Troup
james.troup at canonical.com
Thu Sep 16 14:48:42 BST 2010
Public bug reported:
Binary package hint: squid
After upgrading to lucid we noticed that squid was adding the
http_port port number to any Host: line that came in without port
number. Our setup looks (something like) this:
SSL termination -> squids -> backends
Once these squids beceame lucid, the backends started seeing 'Host:
example.com:3128' instead of 'Host: example.com' (what the original
requestor actually sent). This is a) totally bogus and b) breaks some
of our backends (they 500 if asked to process a request which has a
host line with a port number they're not listening on). We're able to
work around this for some hosts by explicitly specifying 'vport=80' as
an option to 'http_port' but this doesn't work when we have multiple
backends on the same IP but different ports.
** Affects: squid
Importance: Unknown
Status: Unknown
** Affects: squid (Ubuntu)
Importance: Undecided
Status: New
** Tags: regression-potential
** Bug watch added: bugs.squid-cache.org/ #2192
http://bugs.squid-cache.org/show_bug.cgi?id=2192
** Also affects: squid via
http://bugs.squid-cache.org/show_bug.cgi?id=2192
Importance: Unknown
Status: Unknown
--
squid in lucid adds bogus port number to Host: line if one isn't provided (in original or via vport=)
https://bugs.launchpad.net/bugs/640511
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to squid in ubuntu.
More information about the Ubuntu-server-bugs
mailing list