From: wessels <> Date: Tue, 27 Aug 1996 11:19:09 +0000 (+0000) Subject: dont release from ipcacheInvalidate() X-Git-Tag: SQUID_3_0_PRE1~5912 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6c11e1935eb83ad5ba2f217e1a14f3ae8f95ea5d;p=thirdparty%2Fsquid.git dont release from ipcacheInvalidate() --- 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)