]> git.kaiwu.me - haproxy.git/commit
MINOR: fcgi-app: Stop on last HTX block when getting the payload size
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 8 Jul 2026 15:12:27 +0000 (17:12 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 24 Jul 2026 10:20:47 +0000 (12:20 +0200)
commit1ef1ef657d1015828a050d928a53c4ee012ae2ef
tree277c670c06cd3b694c70bd4b0e54625375732ec5
parent6ebb6f4ae2dc1cbeea9d6ab4ffa344184eb28f23
MINOR: fcgi-app: Stop on last HTX block when getting the payload size

In the loop counting all DATA block to be able to add a "Content-length:"
header in the FCGI response, we now check flags on the HTX block to know if
it is the last one of the message or not. If HTX_BLK_FL_EOM flag is set, it
means we can stop.
src/fcgi-app.c