]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
For refresh requests, use storeClientAdd to register interest in
authorwessels <>
Fri, 14 Feb 1997 01:38:28 +0000 (01:38 +0000)
committerwessels <>
Fri, 14 Feb 1997 01:38:28 +0000 (01:38 +0000)
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.

src/client_side.cc

index 8b20b7164beef453e02a42677b0db619881c76a3..cdef7ba27bc6f95b29b03876c96320eb41b63873 100644 (file)
@@ -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",