]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix protocol names in AnyP::PortCfg after http_port_list revamp in r12121.
authorAlex Rousskov <rousskov@measurement-factory.com>
Wed, 23 May 2012 23:34:49 +0000 (17:34 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Wed, 23 May 2012 23:34:49 +0000 (17:34 -0600)
commitd3388e1f4ce681907d5eb9a00f91f0bba1aff55c
treedfbd87792d62279587f0b768a5b3017929d22fcb
parentc2eaeb8753f8a84e20013246731700ea2f05c7a8
Fix protocol names in AnyP::PortCfg after http_port_list revamp in r12121.

The bug manifests itself when the URIs of intercepted requests are rewritten
into "https_port://..." strings, resulting in "Invalid port '0'" errors in
urlParse, followed by HTTP 400 (Bad Request) rejection.

There are other, more subtle cases where wrong PortCfg protocol matters.
src/cache_cf.cc