From: wessels <> Date: Tue, 15 Oct 1996 10:56:08 +0000 (+0000) Subject: Unlock the old entry when an IMS check is aborted X-Git-Tag: SQUID_3_0_PRE1~5653 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9db4ba2917692dca3ada8ad5db11dc86617058ff;p=thirdparty%2Fsquid.git Unlock the old entry when an IMS check is aborted --- diff --git a/src/client_side.cc b/src/client_side.cc index e73450d60a..449998a91d 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.43 1996/10/14 21:27:57 wessels Exp $ + * $Id: client_side.cc,v 1.44 1996/10/15 04:56:08 wessels Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -409,13 +409,15 @@ icpHandleIMSReply(int fd, StoreEntry * entry, void *data) /* unregister this handler */ storeUnregister(entry, fd); if (entry->store_status == STORE_ABORTED) { - debug(33, 3, "icpHandleIMSReply: abort_code=%d\n", - entry->mem_obj->abort_code); + debug(33, 3, "icpHandleIMSReply: ABORTED/%s '%s'\n", + log_tags[entry->mem_obj->abort_code], entry->url); icpSendERROR(fd, entry->mem_obj->abort_code, entry->mem_obj->e_abort_msg, icpState, 400); + if (icpState->old_entry) + storeUnlockObject(icpState->old_entry); return 0; } if (mem->reply->code == 0) {