]> git.kaiwu.me - haproxy.git/commit
REGTESTS: filters: Exercise Lua callback resumption
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 2 Oct 2026 19:18:00 +0000 (21:18 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 9 Oct 2026 14:17:36 +0000 (16:17 +0200)
commitac6aff5c327d6334be018c4e93dd554fe4274f20
tree33c7b0b8bfbcf870f4fb0c8c14a748109619f035
parentd58a16f4cbdffb65fccb7ef508a36bbfd52bb7c0
REGTESTS: filters: Exercise Lua callback resumption

Chain waiting and non-waiting Lua filters on the frontend and backend,
with different global, request and response orders. Return WAIT once in
start/header callbacks and verify that resumption does not duplicate
headers, recreate instances or lose the independently ordered lists.

Combine the waits with small payload forwarding quotas, keep-alive and
chunked request/response bodies. Use a barrier to keep the backend open
until the client drains the final response; EOF handling is independent
of the resumption behavior checked here.
reg-tests/filters/lua-resume.vtc [new file with mode: 0644]