]> git.ipfire.org Git - thirdparty/squid.git/commit
Fixed a copy-paste typo in HttpHdrCc::hasMinFresh() (#901)
authorEduard Bagdasaryan <eduard.bagdasaryan@measurement-factory.com>
Fri, 24 Sep 2021 23:23:23 +0000 (23:23 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Fri, 24 Sep 2021 23:23:26 +0000 (23:23 +0000)
commite0072b1d26280de7c006f6009706bf4c2a131f0d
treedf7bbad5a9ef1a0c682a4bf7c9e17609a368830f
parent464223c147a568169e940fb466947bdb556d87af
Fixed a copy-paste typo in HttpHdrCc::hasMinFresh() (#901)

This bug could result in unexpected hits/misses because Squid used the
cached CC:max-stale value (or -1) instead of CC:min-fresh when
calculating entry freshness.

Broken since 810d879.
src/HttpHdrCc.h