]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Added debugging to the "client-max-age = 0 and ignore-reload" freshness check.
authorAlex Rousskov <rousskov@measurement-factory.com>
Wed, 3 Nov 2010 16:10:13 +0000 (10:10 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Wed, 3 Nov 2010 16:10:13 +0000 (10:10 -0600)
src/refresh.cc

index b8030d335e42c42c32da598889a87365e68fcd5e..17b97ef1c0f45d72ac26fe295744480240cc1a4a 100644 (file)
@@ -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) {