]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
- honor no-store cc directive
authorrousskov <>
Wed, 3 Jun 1998 03:46:02 +0000 (03:46 +0000)
committerrousskov <>
Wed, 3 Jun 1998 03:46:02 +0000 (03:46 +0000)
src/http.cc

index eb24b1bbd9238571de254d16c0ddbb04515c8702..ed7e7a0cee685964350fc4aa68d63401e8a1751b 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: http.cc,v 1.279 1998/06/02 21:38:09 rousskov Exp $
+ * $Id: http.cc,v 1.280 1998/06/02 21:46:02 rousskov Exp $
  *
  * DEBUG: section 11    Hypertext Transfer Protocol (HTTP)
  * AUTHOR: Harvest Derived
@@ -218,6 +218,8 @@ httpCachableReply(HttpStateData * httpState)
        return 0;
     if (EBIT_TEST(cc_mask, CC_NO_CACHE))
        return 0;
+    if (EBIT_TEST(cc_mask, CC_NO_STORE))
+       return 0;
     if (EBIT_TEST(httpState->request->flags, REQ_AUTH))
        if (!EBIT_TEST(cc_mask, CC_PROXY_REVALIDATE))
            return 0;