]> git.kaiwu.me - haproxy.git/commit
REGTESTS: sample_fetches: test res.body, res.body_len and server_status
authorWilly Tarreau <w@1wt.eu>
Tue, 22 Sep 2026 20:09:16 +0000 (20:09 +0000)
committerWilly Tarreau <w@1wt.eu>
Wed, 30 Sep 2026 15:25:37 +0000 (17:25 +0200)
commit0cd2678d371dfa98cb46632829a84a0b4b9f06f2
tree92a4b5a0f1d0c8e3609d14a2a62507ca508d27a3
parentd88bd84d6bbd2160fbe5a867cbf56291e86c0da7
REGTESTS: sample_fetches: test res.body, res.body_len and server_status

The response test covered res.body_size but neither the body itself nor
its length, and not the status as it was received from the server. The
two body fetches only see what has already been received, so an
"http-response wait-for-body" is added in front of them to make the
result deterministic.
reg-tests/sample_fetches/http_response.vtc