From: wessels <> Date: Thu, 23 Jul 1998 04:36:08 +0000 (+0000) Subject: handle store abort in statObjects X-Git-Tag: SQUID_3_0_PRE1~3006 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7d9e8f15f20b3f7e96ca004c8e8f65ca8cbd58ff;p=thirdparty%2Fsquid.git handle store abort in statObjects --- diff --git a/src/stat.cc b/src/stat.cc index 1f7125162a..2ff8eb742c 100644 --- a/src/stat.cc +++ b/src/stat.cc @@ -1,6 +1,6 @@ /* - * $Id: stat.cc,v 1.266 1998/07/22 21:24:42 wessels Exp $ + * $Id: stat.cc,v 1.267 1998/07/22 22:36:08 wessels Exp $ * * DEBUG: section 18 Cache Manager Statistics * AUTHOR: Harvest Derived @@ -303,6 +303,10 @@ statObjects(void *data) storeUnlockObject(state->sentry); cbdataFree(state); return; + } else if (state->sentry->store_status == STORE_ABORTED) { + storeUnlockObject(state->sentry); + cbdataFree(state); + return; } storeBuffer(state->sentry); debug(49, 3) ("statObjects: Bucket #%d\n", state->bucket);