haproxy/reg-tests/compression
Tim Duesterhus b229f018ee BUG/MEDIUM: compression: Rewrite strong ETags
RFC 7232 section 2.3.3 states:

> Note: Content codings are a property of the representation data,
> so a strong entity-tag for a content-encoded representation has to
> be distinct from the entity tag of an unencoded representation to
> prevent potential conflicts during cache updates and range
> requests.  In contrast, transfer codings (Section 4 of [RFC7230])
> apply only during message transfer and do not result in distinct
> entity-tags.

Thus a strong ETag must be changed when compressing. Usually this is done
by converting it into a weak ETag, which represents a semantically, but not
byte-by-byte identical response. A conversion to a weak ETag still allows
If-None-Match to work.

This should be backported to 1.9 and might be backported to every supported
branch with compression.
2019-01-29 20:26:06 +01:00
..
common.pem REGTEST: filters: add compression test 2019-01-09 14:36:22 +01:00
h00000.vtc REGTEST: Add a basic test for the compression 2018-12-21 15:33:26 +01:00
h00001.vtc BUG/MEDIUM: compression: Rewrite strong ETags 2019-01-29 20:26:06 +01:00
s00000.lua REGTEST: filters: add compression test 2019-01-09 14:36:22 +01:00
s00000.vtc REGTEST: filters: add compression test 2019-01-09 14:36:22 +01:00