haproxy/reg-tests/cache
Remi Tricot-Le Breton e4421dec7e BUG/MINOR: cache: Manage multiple headers in accept-encoding normalization
The accept-encoding part of the secondary key (vary) was only built out
of the first occurrence of the header. So if a client had two
accept-encoding headers, gzip and br for instance, the key would have
been built out of the gzip string. So another client that only managed
gzip would have been sent the cached resource, even if it was a br resource.
The http_find_header function is now called directly by the normalizers
so that they can manage multiple headers if needed.
A request that has more than 16 encodings will be considered as an
illegitimate request and its response will not be stored.

This fixes GitHub issue #987.

It does not need any backport.
2020-12-24 17:18:00 +01:00
..
basic.vtc MEDIUM: cache: Change caching conditions 2020-11-12 11:22:05 +01:00
caching_rules.vtc MINOR: cache: Do not store stale entry 2020-12-04 10:21:56 +01:00
expires.vtc MINOR: cache: Add Expires header value parsing 2020-10-30 11:08:38 +01:00
if-modified-since.vtc MEDIUM: cache: Change caching conditions 2020-11-12 11:22:05 +01:00
if-none-match.vtc
post_on_entry.vtc MEDIUM: cache: Remove cache entry in case of POST on the same resource 2020-12-04 10:21:56 +01:00
sample_fetches.vtc MEDIUM: cache: Change caching conditions 2020-11-12 11:22:05 +01:00
vary.vtc BUG/MINOR: cache: Manage multiple headers in accept-encoding normalization 2020-12-24 17:18:00 +01:00