From: wessels <> Date: Fri, 14 Feb 1997 01:38:28 +0000 (+0000) Subject: For refresh requests, use storeClientAdd to register interest in X-Git-Tag: SQUID_3_0_PRE1~5117 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8538ed3965167f8ac07df74690376856257c82d0;p=thirdparty%2Fsquid.git For refresh requests, use storeClientAdd to register interest in both old and new entries. I think we werent' registering with the old entry and it could get delete-behind'ed out from under us. --- diff --git a/src/client_side.cc b/src/client_side.cc index 8b20b7164b..cdef7ba27b 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.88 1997/02/07 04:57:10 wessels Exp $ + * $Id: client_side.cc,v 1.89 1997/02/13 18:38:28 wessels Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -430,6 +430,7 @@ icpProcessExpired(int fd, void *data) icpState->method); /* NOTE, don't call storeLockObject(), storeCreateEntry() does it */ storeClientListAdd(entry, fd, 0); + storeClientListAdd(icpState->old_entry, fd, 0); entry->lastmod = icpState->old_entry->lastmod; debug(33, 5, "icpProcessExpired: setting lmt = %d\n",