]> 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, 18 Sep 2026 15:05:18 +0000 (17:05 +0200)
commit3288fa10b33c7792d7aa205908310bd4bfd17e02
treeb47628e5470fdd072b0787f1ec557607eb154ae5
parent60cb71e2de3b481c98a5e227beddcf5f0da8df3c
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