From cb4eb1ae3571f16258b29f81245d61aff76f658e Mon Sep 17 00:00:00 2001 From: wessels <> Date: Sat, 24 Apr 1999 05:01:23 +0000 Subject: [PATCH] We need to update entry timestamps for 304 replies when we just give the 304 reply to the client. We already update timestamps when we get a 304 from the server but send a 200 to the client. --- src/client_side.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/client_side.cc b/src/client_side.cc index 953039f869..f38b1b3c80 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.443 1999/04/15 06:15:50 wessels Exp $ + * $Id: client_side.cc,v 1.444 1999/04/23 23:01:23 wessels Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -451,7 +451,9 @@ clientHandleIMSReply(void *data, char *buf, ssize_t size) /* the client can handle this reply, whatever it is */ http->log_type = LOG_TCP_REFRESH_MISS; if (HTTP_NOT_MODIFIED == mem->reply->sline.status) { - http->old_entry->timestamp = squid_curtime; + httpReplyUpdateOnNotModified(http->old_entry->mem_obj->reply, + mem->reply); + storeTimestampsSet(http->old_entry); http->old_entry->refcount++; http->log_type = LOG_TCP_REFRESH_HIT; } -- 2.47.3