commit | 6ca89162dc881df8fecd7713ca1fe5dbaa66b315 | [log] [tgz] |
---|---|---|
author | Remi Tricot-Le Breton <rlebreton@haproxy.com> | Thu Jan 07 14:50:51 2021 +0100 |
committer | William Lallemand <wlallemand@haproxy.org> | Fri Jan 15 22:33:05 2021 +0100 |
tree | 7f07c0bc5fc1e295c3f3ea2b1917615dbb0ed2f0 | |
parent | b62b78be131de1848d71350d369deac07daf448a [diff] |
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.