]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Add in some more refresh-related debugging
authoradrian <>
Sun, 1 Oct 2006 23:26:34 +0000 (23:26 +0000)
committeradrian <>
Sun, 1 Oct 2006 23:26:34 +0000 (23:26 +0000)
src/http.cc

index 5e9f7075c95b043b6938f4760ecb1088f05d97c3..c5546b6d156f7d2f05d162c9035e2df9e37661ab 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: http.cc,v 1.507 2006/09/20 06:29:10 adrian Exp $
+ * $Id: http.cc,v 1.508 2006/10/01 17:26:34 adrian Exp $
  *
  * DEBUG: section 11    Hypertext Transfer Protocol (HTTP)
  * AUTHOR: Harvest Derived
@@ -467,8 +467,10 @@ HttpStateData::cacheableReply()
          * unless we know how to refresh it.
          */
 
-        if (!refreshIsCachable(entry))
+        if (!refreshIsCachable(entry)) {
+           debug(22, 3) ("refreshIsCachable() returned non-cacheable..\n");
             return 0;
+       }
 
         /* don't cache objects from peers w/o LMT, Date, or Expires */
         /* check that is it enough to check headers @?@ */