Edwin de Graaf writes:
>Hello Squid users,
>
>Because some of our clients don't really trust Squid to not return stale
>objects, they want to have the option of disabling all caching. Because
>they are behind a firewall they still have to go through Squid. I want
>to run two Squid processes on the firewall, one that does caching, and
>one that doesn't.
Try this patch:
Index: icp.c
===================================================================
RCS file: /surf1/CVS/squid/src/Attic/icp.c,v
retrieving revision 1.228.2.50
diff -w -u -r1.228.2.50 icp.c
--- icp.c 1998/07/24 18:12:01 1.228.2.50
+++ icp.c 1998/09/09 17:27:23
@@ -437,12 +437,11 @@
return 0;
#ifdef NO_CACHE_ACL
ia = ipcache_gethostbyname(req->host, 0);
- if (ia != NULL) {
+ if (ia != NULL)
checklist.dst_addr = ia->in_addrs[ia->cur];
checklist.request = req;
if (!aclCheck(UncacheableList, &checklist))
return 0;
- }
#endif /* NO_CACHE_ACL */
if (req->protocol == PROTO_HTTP)
return httpCachable(request, method);
Duane W.
Received on Wed Sep 09 1998 - 10:35:11 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:41:54 MST