From: rousskov <> Date: Fri, 24 Apr 1998 02:25:51 +0000 (+0000) Subject: - added storeUnlockObject() to the "huge 304 reply" fix X-Git-Tag: SQUID_3_0_PRE1~3447 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=743eebfa683c0fb93541f2660563a4dcb916d4bc;p=thirdparty%2Fsquid.git - added storeUnlockObject() to the "huge 304 reply" fix - removed STORE_ABORTED if in the same section since it cannot be reached --- diff --git a/src/client_side.cc b/src/client_side.cc index 6cef8dc8d7..42fc28ab3f 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -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,