commit | 8bb72aa82fd68822fc116f58a062e97c924b4fe5 | [log] [tgz] |
---|---|---|
author | Remi Tricot-Le Breton <rlebreton@haproxy.com> | Mon Nov 30 17:06:03 2020 +0100 |
committer | William Lallemand <wlallemand@haproxy.org> | Wed Dec 02 16:32:54 2020 +0100 |
tree | 7ff3eda277a072ab5ae9a7619fecfcada5f99c9c | |
parent | f67442efdb509d5d15f530a536b13f29fa7f48b7 [diff] |
MINOR: cache: Improve accept_encoding_normalizer Turn the "Accept-Encoding" value to lower case before processing it. Calculate the CRC on every token instead of a sorted concatenation of them all (in order to avoir copying them) then XOR all the CRCs into a single hash (while ignoring duplicates).