]> git.kaiwu.me - haproxy.git/commit
MINOR: hlua: Use flags of HTX blocks to detect EOM from an HTTP applet
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 21 Jul 2026 09:58:22 +0000 (11:58 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 18 Sep 2026 15:05:18 +0000 (17:05 +0200)
commit2a93baeba368d28e62378b009296fe9136cdd213
treefe0d3f9e1a0c3a6fe1d08e342cf447b20ba02ea7
parente54d528b4016d318853a56e8aa4576325c52ba04
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