From: Source Maintenance Date: Fri, 28 Oct 2016 12:12:05 +0000 (+0000) Subject: SourceFormat Enforcement X-Git-Tag: SQUID_4_0_16~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=18fe96be55e51068e935c1b3d3f58bc1ff930bad;p=thirdparty%2Fsquid.git SourceFormat Enforcement --- diff --git a/src/refresh.cc b/src/refresh.cc index 6a56547ccf..3b575ff50d 100644 --- a/src/refresh.cc +++ b/src/refresh.cc @@ -423,12 +423,12 @@ refreshCheck(const StoreEntry * entry, HttpRequest * request, time_t delta) debugs(22, 3, "MAYBE: Ignoring client CC:max-age=" << cc->maxAge() << " request - 'Cache-Control: immutable'"); #if USE_HTTP_VIOLATIONS - // Ignore of client "Cache-Control: max-age=0" header + // Ignore of client "Cache-Control: max-age=0" header } else if (R->flags.ignore_reload && cc->maxAge() == 0) { debugs(22, 3, "MAYBE: Ignoring client reload request - trying to serve from cache (ignore-reload option)"); #endif - // Honour client "Cache-Control: max-age=x" header + // Honour client "Cache-Control: max-age=x" header } else if (age > cc->maxAge() || cc->maxAge() == 0) { debugs(22, 3, "YES: Revalidating object - client 'Cache-Control: max-age=" << cc->maxAge() << "'"); return STALE_EXCEEDS_REQUEST_MAX_AGE_VALUE;