From: wessels <> Date: Tue, 22 Oct 1996 10:27:58 +0000 (+0000) Subject: log IMS+EXPIRED 304 replies as EXP_HIT X-Git-Tag: SQUID_3_0_PRE1~5617 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a83b41fe6e68ce1e210b7e2891b04e3832bbcc0f;p=thirdparty%2Fsquid.git log IMS+EXPIRED 304 replies as EXP_HIT --- diff --git a/src/client_side.cc b/src/client_side.cc index ef2c5e8952..fc48bf23e5 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.47 1996/10/17 11:17:42 wessels Exp $ + * $Id: client_side.cc,v 1.48 1996/10/22 04:27:58 wessels Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -460,11 +460,12 @@ icpHandleIMSReply(int fd, StoreEntry * entry, void *data) } } else { /* the client can handle this reply, whatever it is */ + icpState->log_type = LOG_TCP_EXPIRED_MISS; if (mem->reply->code == 304) { icpState->old_entry->timestamp = squid_curtime; icpState->old_entry->refcount++; + icpState->log_type = LOG_TCP_EXPIRED_HIT; } - icpState->log_type = LOG_TCP_EXPIRED_MISS; storeUnlockObject(icpState->old_entry); } icpState->old_entry = NULL; /* done with old_entry */