]> git.kaiwu.me - haproxy.git/commit
REGTESTS: filters: Exercise per-thread Lua instance state
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 2 Oct 2026 19:23:06 +0000 (21:23 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 9 Oct 2026 14:17:36 +0000 (16:17 +0200)
commitaec755a8bcccc31a0ab0f6cee0d231632b14b9c6
treeb07f64c7c122dc4150cfd81a49b0b5968108d806
parent64a7d693d93356b79d49f1499634772628211572
REGTESTS: filters: Exercise per-thread Lua instance state

Load the HTTP probes separately on each thread and inherit frontend
instances into listeners pinned to different threads. Check the Lua
state id and per-state construction counters through frontend and backend
callbacks, including a second stream on each thread.

Verify that instances, disabled instances and independent response
sequences are handled correctly without sharing mutable Lua state between
threads. Extend the probe headers with the Lua state id.
reg-tests/filters/lua-per-thread.vtc [new file with mode: 0644]
reg-tests/filters/lua-probe.lua