MINOR: cache: Do not store responses with an unknown encoding
If a server varies on the accept-encoding header and it sends a response
with an encoding we do not know (see parse_encoding_value function), we
will not store it. This will prevent unexpected errors caused by
cache collisions that could happen in accept_encoding_hash_cmp.
diff --git a/doc/configuration.txt b/doc/configuration.txt
index d357b89..64b7350 100644
--- a/doc/configuration.txt
+++ b/doc/configuration.txt
@@ -14616,6 +14616,9 @@
headers)
- If the process-vary option is enabled and there are already max-secondary-entries
entries with the same primary key as the current response
+- If the process-vary option is enabled and the response has an unknown encoding (not
+ mentioned in https://www.iana.org/assignments/http-parameters/http-parameters.xhtml)
+ while varying on the accept-encoding client header
- If the request is not a GET
- If the HTTP version of the request is smaller than 1.1