]> git.kaiwu.me - haproxy.git/commit
REGTESTS: sample_fetches: test the req.cook() fetch itself
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)
commit394eb89be198576f9533e4f907b1d9c27882b607
tree9e9aa9aa5617d4b7e6664981b1b37aaa37d1e49b
parent17a381db1263fbd01b0b9a7de2eece1f59f1c3ba
REGTESTS: sample_fetches: test the req.cook() fetch itself

The cookie test only used the _cnt, _val and _names variants, while
req.cook(), which returns the value of a cookie as a string, was never
read. It is added with a name, without any, which takes the first
cookie of the header, and with a name which is not there.
reg-tests/sample_fetches/cook.vtc