]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Alex Rousskov <rousskov@measurement-factory.com>
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 20 Dec 2010 04:55:04 +0000 (21:55 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 20 Dec 2010 04:55:04 +0000 (21:55 -0700)
Added debugging to the "client-max-age = 0 and ignore-reload" freshness check.

src/refresh.cc

index e3d0dbbdd63b2d79deef4363197d247b59e8049f..4086fe5e88a1bf787d044f5d0b7d8f7b7415065f 100644 (file)
@@ -326,7 +326,9 @@ refreshCheck(const StoreEntry * entry, HttpRequest * request, time_t delta)
         if (NULL != cc) {
             if (cc->max_age > -1) {
 #if 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) {