From 6c11e1935eb83ad5ba2f217e1a14f3ae8f95ea5d Mon Sep 17 00:00:00 2001 From: wessels <> Date: Tue, 27 Aug 1996 11:19:09 +0000 Subject: [PATCH] dont release from ipcacheInvalidate() --- src/ipcache.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ipcache.cc b/src/ipcache.cc index a352824827..b894c7f2c6 100644 --- a/src/ipcache.cc +++ b/src/ipcache.cc @@ -1,5 +1,5 @@ /* - * $Id: ipcache.cc,v 1.43 1996/08/26 19:57:07 wessels Exp $ + * $Id: ipcache.cc,v 1.44 1996/08/27 05:19:09 wessels Exp $ * * DEBUG: section 14 IP Cache * AUTHOR: Harvest Derived @@ -1149,10 +1149,10 @@ void ipcacheInvalidate(name) ipcache_entry *i; if ((i = ipcache_get(name)) == NULL) return; - if (i->status != IP_CACHED) - i->expires = squid_curtime; - else - ipcache_release(i); + i->expires = squid_curtime; + /* NOTE, don't call ipcache_release here becuase we might be here due + * to a thread started from ipcache_call_pending() which will cause a + * FMR */ } static struct hostent *ipcacheCheckNumeric(name) -- 2.47.3