From: serassio <> Date: Wed, 19 Oct 2005 01:55:28 +0000 (+0000) Subject: Bug #1411: It is no longer possible to tweak recent versions of squid to X-Git-Tag: SQUID_3_0_PRE4~581 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fa3e249ff27ba2ba782e2b604664a5fbe0c22841;p=thirdparty%2Fsquid.git Bug #1411: It is no longer possible to tweak recent versions of squid to serve cached data for windowsupdate. Forward port of 2.5 patch. --- diff --git a/src/http.cc b/src/http.cc index f1c31d6d7b..a7a3a62271 100644 --- a/src/http.cc +++ b/src/http.cc @@ -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);