]> git.kaiwu.me - haproxy.git/commit
REGTESTS: filters: Exercise TCP Lua payload chains and sequencing
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 2 Oct 2026 19:21:42 +0000 (21:21 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 9 Oct 2026 14:17:36 +0000 (16:17 +0200)
commit64a7d693d93356b79d49f1499634772628211572
treef865786e0c3fde206ea523b692c1bb2b03acffa8
parentb4229ec6178d5d342be4621bb146a3387b714bfc
REGTESTS: filters: Exercise TCP Lua payload chains and sequencing

Use same-length, non-commuting Lua substitutions to observe the actual
TCP request and response evaluation order without depending on packet
boundaries. Mix the rewrites with trace and active bandwidth filters.

Inherit independent channel sequences from named defaults, reverse them
locally by first detaching the inherited child to the class anchor, and
check class-wide disabling followed by id-specific enabling. Include a
fully disabled Lua chain and a legacy chain retaining symmetric order.

Use HTTP framing only to check complete bodies over TCP; the proxies do
not parse HTTP and the Lua filters are not HTX-capable.
reg-tests/filters/lua-tcp-rewrite.lua [new file with mode: 0644]
reg-tests/filters/lua-tcp.vtc [new file with mode: 0644]