Comment 0 for bug 640511

Revision history for this message
James Troup (elmo) wrote :

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.