]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Maintenance: Fix out-of-sync If-None-Match copying explanation (#2200)
authorJoshua Rogers <MegaManSec@users.noreply.github.com>
Thu, 4 Sep 2025 20:25:19 +0000 (20:25 +0000)
committerFrancesco Chemolli <5175948+kinkie@users.noreply.github.com>
Fri, 5 Sep 2025 13:10:14 +0000 (14:10 +0100)
If `cache_miss_revalidate` is enabled, we append the header.

src/http.cc

index 28abf848112c65386c0794706166029fc0d2f49b..13b3432bae64dd801d55646d607618c2ab7e7602 100644 (file)
@@ -2244,7 +2244,7 @@ copyOneHeaderFromClientsideRequestToUpstreamRequest(const HttpHeaderEntry *e, co
     case Http::HdrType::IF_NONE_MATCH:
         /** \par If-None-Match:
          * append if the wildcard '*' special case value is present, or
-         *   cache_miss_revalidate is disabled, or
+         *   cache_miss_revalidate is enabled, or
          *   the request is not cacheable in this proxy, or
          *   the request contains authentication credentials.
          * \note this header lists a set of responses for the server to elide sending. Squid added values are extending that set.