]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Dont put last-modified on error pages. Netscape (2.x at least) will
authorwessels <>
Mon, 11 Aug 1997 22:52:41 +0000 (22:52 +0000)
committerwessels <>
Mon, 11 Aug 1997 22:52:41 +0000 (22:52 +0000)
send IMS when you try to reload an error page, and the origin server
sends back NOT MODIFIED.

src/errorpage.cc

index 83f38cefbebddeaf7bdd293b9a9d24c81a8a86ba..2ea1585ae6a8286bb88ff2a6943e68af4e92d5e0 100644 (file)
@@ -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)