From: Alex Rousskov Date: Wed, 3 Nov 2010 16:10:13 +0000 (-0600) Subject: Added debugging to the "client-max-age = 0 and ignore-reload" freshness check. X-Git-Tag: take1~110 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7792a5ae7f2e6bd9afafa8df501ec140f409d999;p=thirdparty%2Fsquid.git Added debugging to the "client-max-age = 0 and ignore-reload" freshness check. --- diff --git a/src/refresh.cc b/src/refresh.cc index b8030d335e..17b97ef1c0 100644 --- a/src/refresh.cc +++ b/src/refresh.cc @@ -326,7 +326,9 @@ refreshCheck(const StoreEntry * entry, HttpRequest * request, time_t delta) if (NULL != cc) { if (cc->max_age > -1) { #if USE_HTTP_VIOLATIONS - if (R->flags.ignore_reload && cc->max_age == 0) {} else + if (R->flags.ignore_reload && cc->max_age == 0) { + debugs(22, 3, "refreshCheck: MAYBE: client-max-age = 0 and ignore-reload"); + } else #endif { if (cc->max_age == 0) {