]> git.kaiwu.me - haproxy.git/commit
MINOR: hlua: Use flags of HTX blocks to detect EOM from an HTTP applet 20260615-htx-flags
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 21 Jul 2026 09:58:22 +0000 (11:58 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 24 Jul 2026 10:20:47 +0000 (12:20 +0200)
commit7402d062d24633d0c325603b65bf4ca5e10cc645
treebd26776a0255a30e70433314023acfcc4ad669de
parentf25a059919116ea376ca33e85ba23988e7bc3391
MINOR: hlua: Use flags of HTX blocks to detect EOM from an HTTP applet

When we try to get request's data from an HTTP applet, instead of testing
HTX_FL_HAS_EOM flag on the message, we now rely on the flags of HTX blocks.
The logic remains the same, when all DATA blocks were consumed, we consider
the request as fully received. It may be when the blocks with the EOM flag
was removed or because a trailer was seen.
src/hlua.c