]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
- added storeUnlockObject() to the "huge 304 reply" fix
authorrousskov <>
Fri, 24 Apr 1998 02:25:51 +0000 (02:25 +0000)
committerrousskov <>
Fri, 24 Apr 1998 02:25:51 +0000 (02:25 +0000)
- removed STORE_ABORTED if in the same section since it cannot be reached

src/client_side.cc

index 6cef8dc8d705edfd7883cb256a6a20401e517d87..42fc28ab3f669784a58bd94e1664f5903493533d 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: client_side.cc,v 1.285 1998/04/23 20:08:07 rousskov Exp $
+ * $Id: client_side.cc,v 1.286 1998/04/23 20:25:51 rousskov Exp $
  *
  * DEBUG: section 33    Client-side Routines
  * AUTHOR: Duane Wessels
@@ -348,11 +348,10 @@ clientHandleIMSReply(void *data, char *buf, ssize_t size)
            /* use old entry, this repeats the code above */
            http->log_type = LOG_TCP_REFRESH_FAIL_HIT;
            storeUnregister(entry, http);
+           storeUnlockObject(entry);
            entry = http->entry = http->old_entry;
            entry->refcount++;
        } else {
-           if (entry->store_status == STORE_ABORTED)
-               debug(33, 0) ("clientHandleIMSReply: entry->swap_status == STORE_ABORTED\n");
            storeClientCopy(entry,
                http->out.offset + size,
                http->out.offset,