From: wessels <> Date: Mon, 11 Aug 1997 22:52:41 +0000 (+0000) Subject: Dont put last-modified on error pages. Netscape (2.x at least) will X-Git-Tag: SQUID_3_0_PRE1~4834 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=37ecb782cebd7d4873671fa1bf43e78143d9bb7e;p=thirdparty%2Fsquid.git Dont put last-modified on error pages. Netscape (2.x at least) will send IMS when you try to reload an error page, and the origin server sends back NOT MODIFIED. --- diff --git a/src/errorpage.cc b/src/errorpage.cc index 83f38cefbe..2ea1585ae6 100644 --- a/src/errorpage.cc +++ b/src/errorpage.cc @@ -1,6 +1,6 @@ /* - * $Id: errorpage.cc,v 1.63 1997/08/10 06:34:29 wessels Exp $ + * $Id: errorpage.cc,v 1.64 1997/08/11 16:52:41 wessels Exp $ * * DEBUG: section 4 Error Generation * AUTHOR: Duane Wessels @@ -164,7 +164,7 @@ errorBuildBuf(ErrorState * err, int *len) err->http_status, "text/html", clen, - squid_curtime, + 0, /* no LMT for error pages */ squid_curtime); tlen = snprintf(buf, ERROR_BUF_SZ, "%s\r\n%s", hdr, content); if (len)