]> git.kaiwu.me - haproxy.git/commit
MINOR: mux-fcgi: Use flags of HTX blocks to detect end of message during sending
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 9 Jul 2026 13:06:41 +0000 (15:06 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 18 Sep 2026 15:05:18 +0000 (17:05 +0200)
commit9b1a3215f8b4b2e42a09e80d11503b2cd4ff568b
tree186cf0be4334a5f27fafb6b0736512797d9aaf99
parente4a0510937bba72bf2df172702a7888ca63e3a37
MINOR: mux-fcgi: Use flags of HTX blocks to detect end of message during sending

When a message is sent, the end of the message is now detected by testing
flags of each HTX blocs. Otherwise, the logic remains mostly unchanged. The
way the end of the message is handled in fcgi_strm_send_stdin() was modified
a bit but the result is the same. Now, we rely on a variable to decide, at
the end, if an empty STDIN record should be sent or not. This avoid an extra
test on the HTX message to be sure it is empty.
src/mux_fcgi.c