[Bug 1336742] Re: Caching responses with "Vary" header
Launchpad Bug Tracker
1336742 at bugs.launchpad.net
Fri Mar 6 12:23:12 UTC 2015
This bug was fixed in the package squid3 - 3.3.8-1ubuntu12
---------------
squid3 (3.3.8-1ubuntu12) vivid; urgency=medium
* debian/tests/testlib_httpd.py: Use "service" command instead of upstart
specific ones, and simplify the logic.
* debian/tests/testlib.py, check_exe(): Check /proc/pid/exe symlink instead
of parsing cmdline; the latter has "(squid-1)" with the init.d script, and
it's not really what we are interested in.
-- Martin Pitt <martin.pitt at ubuntu.com> Fri, 06 Mar 2015 12:10:59 +0100
** Changed in: squid3 (Ubuntu)
Status: Triaged => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1336742
Title:
Caching responses with "Vary" header
Status in Squid Web Proxy Cache:
Fix Released
Status in squid3 package in Ubuntu:
Fix Released
Status in squid3 source package in Trusty:
Triaged
Status in squid3 package in Debian:
Fix Released
Bug description:
See the upstream bug report for more details [1], but it seems as
though squid in trusty isn't caching any response which includes a
vary header [2]. The upstream bug was fixed in 3.3.12 [3].
Steps to reproduce:
* Setup an application returning responses with "Vary: User-Agent"
* Add squid in front of an application server
* Make multiple requests to squid
Expected result:
* Second request is a Hit
Actual result:
* Second (and subsequent) requests are all misses.
Repeat without a Vary header and things are cached as expected. Note,
I've only reproduced this with a specific setup (as in [2]), I've not
yet reproduced with a simplified setup to be certain I'm seeing the
upstream bug.
[1] http://bugs.squid-cache.org/show_bug.cgi?id=3806
[2] http://paste.ubuntu.com/7736175/
[3] http://www.squid-cache.org/Versions/v3/3.3/changesets/SQUID_3_3_12.html
To manage notifications about this bug go to:
https://bugs.launchpad.net/squid/+bug/1336742/+subscriptions
More information about the Ubuntu-sponsors
mailing list