]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #1411: It is no longer possible to tweak recent versions of squid to
authorserassio <>
Wed, 19 Oct 2005 01:55:28 +0000 (01:55 +0000)
committerserassio <>
Wed, 19 Oct 2005 01:55:28 +0000 (01:55 +0000)
serve cached data for windowsupdate.

Forward port of 2.5 patch.

src/http.cc

index f1c31d6d7b9a6e01e5fd7d923985eee51311e449..a7a3a62271ccddcaee369f1088ea49c78808fb06 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: http.cc,v 1.461 2005/09/28 20:26:27 wessels Exp $
+ * $Id: http.cc,v 1.462 2005/10/18 19:55:28 serassio Exp $
  *
  * DEBUG: section 11    Hypertext Transfer Protocol (HTTP)
  * AUTHOR: Harvest Derived
@@ -1253,7 +1253,7 @@ httpBuildRequestHeader(HttpRequest * request,
     assert (hdr_out->owner == hoRequest);
     /* append our IMS header */
 
-    if (request->lastmod > -1 && request->method == METHOD_GET)
+    if (request->lastmod > -1)
         httpHeaderPutTime(hdr_out, HDR_IF_MODIFIED_SINCE, request->lastmod);
 
     bool we_do_ranges = decideIfWeDoRanges (orig_request);