]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REG-TESTS: cache: Remove T-E header for 304-Not-Modified responses
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 16 Nov 2022 16:19:42 +0000 (17:19 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 16 Nov 2022 16:19:43 +0000 (17:19 +0100)
commita0e1a87948cc1858e82c656d18344051838a4af0
tree6558fa0e42d6b95f5844aef731d37b72c242cec8
parent226082d13a0d0b83114e933b3a63916b18f9824b
REG-TESTS: cache: Remove T-E header for 304-Not-Modified responses

VTEST does not properly handle 304-Not-Modified responses. If a
Transfer-Encoding header (and probably a Content-Lenght header too), it
waits for a body. Waiting for a fix, the Transfer-Encoding encoding of
cached responses in 2 VTEST scripts are removed.

Note it is now an issue because of a fix in the H1 multiplexer :

  * 226082d13a "BUG/MINOR: mux-h1: Do not send a last null chunk on body-less answers"

This patch must be backported with the above commit.
reg-tests/cache/if-modified-since.vtc
reg-tests/cache/if-none-match.vtc