]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Merged changes from SQUID_3_0
authorserassio <>
Sun, 10 Feb 2008 17:07:53 +0000 (17:07 +0000)
committerserassio <>
Sun, 10 Feb 2008 17:07:53 +0000 (17:07 +0000)
src/ACLHTTPRepHeader.cc
src/ACLHTTPReqHeader.cc
src/ACLStrategised.cc
src/cf.data.pre

index 9935c40f596f5c7754c2864e02cace23ecc0e114..d26ae22132c0825dcb3ec37a315e20c0a7f910ed 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: ACLHTTPRepHeader.cc,v 1.1 2006/06/14 19:18:24 serassio Exp $
+ * $Id: ACLHTTPRepHeader.cc,v 1.1.6.1 2008/02/10 10:07:53 serassio Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
 #include "ACLChecklist.h"
 #include "HttpReply.h"
 
-/* explicit template instantiation required for some systems */
-
-template class ACLStrategised<HttpHeader*>
-
-;
-
 ACL::Prototype ACLHTTPRepHeader::RegistryProtoype(&ACLHTTPRepHeader::RegistryEntry_, "rep_header");
 
 ACLStrategised<HttpHeader*> ACLHTTPRepHeader::RegistryEntry_(new ACLHTTPHeaderData, ACLHTTPRepHeaderStrategy::Instance(), "rep_header");
index c71421a44b5f92eb0c57c234635b8d1390077a3b..aeef79d626a9fda4c7f08fe2e367a879c91e008b 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: ACLHTTPReqHeader.cc,v 1.1 2006/06/14 19:18:24 serassio Exp $
+ * $Id: ACLHTTPReqHeader.cc,v 1.1.6.1 2008/02/10 10:07:53 serassio Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
 #include "ACLChecklist.h"
 #include "HttpRequest.h"
 
-/* explicit template instantiation required for some systems */
-
-template class ACLStrategised<HttpHeader*>
-
-;
-
 ACL::Prototype ACLHTTPReqHeader::RegistryProtoype(&ACLHTTPReqHeader::RegistryEntry_, "req_header");
 
 ACLStrategised<HttpHeader*> ACLHTTPReqHeader::RegistryEntry_(new ACLHTTPHeaderData, ACLHTTPReqHeaderStrategy::Instance(), "req_header");
index ec7e2dbe2782d049a0acb5aafeadd01abc73c002..126dd7364a3b22865a7e31d6b75e020ea98ba6a2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: ACLStrategised.cc,v 1.1 2003/02/17 07:01:34 robertc Exp $
+ * $Id: ACLStrategised.cc,v 1.1.6.1 2008/02/10 10:07:53 serassio Exp $
  *
  * DEBUG: section 28    Access Control
  * AUTHOR: Duane Wessels
 #include "ACLRegexData.h"
 #include "ACLDomainData.h"
 
+/* 
+ *  moved template instantiation into ACLStrategized.cc from
+ *  ACLHTTPRepHeader.cc and ACLHTTPReqHeader.cc to compile on
+ *  Mac OSX 10.5 Leopard, this corrects a duplicate symbol error
+ */
+/* explicit template instantiation required for some systems */
+
+template class ACLStrategised<HttpHeader*>
+
+;
index f6c778efe07fe07de49af0f130932ef4ea1c2631..165c2dd439bad0eca4dd8becc88df7a57c5cca57 100644 (file)
@@ -1,6 +1,6 @@
 
 #
-# $Id: cf.data.pre,v 1.488.4.1 2008/01/20 18:39:39 serassio Exp $
+# $Id: cf.data.pre,v 1.488.4.2 2008/02/10 10:07:53 serassio Exp $
 #
 # SQUID Web Proxy Cache                http://www.squid-cache.org/
 # ----------------------------------------------------------
@@ -2451,19 +2451,14 @@ TYPE: acl_access
 DEFAULT: none
 LOC: Config.accessList.noCache
 DOC_START
-       A list of ACL elements which, if matched, cause the request to
+       A list of ACL elements which, if matched and denied, cause the request to
        not be satisfied from the cache and the reply to not be cached.
        In other words, use this to force certain objects to never be cached.
 
-       You must use the word 'DENY' to indicate the ACL names which should
-       NOT be cached.
+       You must use the words 'allow' or 'deny' to indicate whether items
+       matching the ACL should be allowed or denied into the cache.
 
        Default is to allow all to be cached
-NOCOMMENT_START
-#We recommend you to use the following two lines.
-acl QUERY urlpath_regex cgi-bin \?
-cache deny QUERY
-NOCOMMENT_END
 DOC_END
 
 NAME: refresh_pattern
@@ -2564,6 +2559,7 @@ Suggested default:
 NOCOMMENT_START
 refresh_pattern ^ftp:          1440    20%     10080
 refresh_pattern ^gopher:       1440    0%      1440
+refresh_pattern (cgi-bin|\?)   0       0%      0
 refresh_pattern .              0       20%     4320
 NOCOMMENT_END
 DOC_END