FreeBSD ipcache patch

From: Duane Wessels <wessels@dont-contact.us>
Date: Thu, 20 Feb 97 10:25:46 -0800

This patch should fix the "HELP!! IP Cache is overflowing!" messages,
especially prevalent on FreeBSD. Hopefully it may also fix some
IP cache related coredumps on FreeBSD as well.

Index: ipcache.c
===================================================================
RCS file: /surf1/CVS/squid/src/ipcache.c,v
retrieving revision 1.103
diff -w -u -r1.103 ipcache.c
--- ipcache.c 1997/02/19 17:11:06 1.103
+++ ipcache.c 1997/02/20 18:24:09
@@ -609,8 +609,8 @@
            i->expires = x->expires;
            ipcache_call_pending(i);
        }
- }
     ipcacheUnlockEntry(i); /* unlock from IP_DISPATCHED */
+ }
     if (dnsData->offset == 0) {
        dnsData->data = NULL;
        dnsData->flags &= ~DNS_FLAG_BUSY;

Duane W.
Received on Thu Feb 20 1997 - 10:40:30 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:34:30 MST