]> git.kaiwu.me - haproxy.git/commit
REGTESTS: filters: Record Lua callback waits across backend EOF
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 2 Oct 2026 19:28:21 +0000 (21:28 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 9 Oct 2026 14:17:36 +0000 (16:17 +0200)
commitfb842ccd6187f41e97e038dcaeba1c981302d626
treefb7fd21e5b40f4336823490c47d5651bf807af6f
parentaec755a8bcccc31a0ab0f6cee0d231632b14b9c6
REGTESTS: filters: Record Lua callback waits across backend EOF

While exercising callback resumption, a complete chunked response could
be lost when the backend closed while Lua filters were waiting. The
related EOF race was also observed with legacy filters on the pre-series
build; it is independent of instance parsing and sequencing.

Keep an EOF reproducer separate from the passing resumption test, which
uses a barrier to hold the backend open. Exercise legacy and instance
chains and keep-alive reuse, and mark the test broken until the EOF race
is fixed. Allow the shared probes to configure their wait delay.
reg-tests/filters/lua-eof.vtc [new file with mode: 0644]
reg-tests/filters/lua-probe.lua