]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: mux-fcgi: Use a safe loop to resume each stream eligible for sending
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 5 Mar 2026 13:18:41 +0000 (14:18 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 5 Mar 2026 14:35:36 +0000 (15:35 +0100)
commit9b22f22858a2af3a6a5b36ea5c079ebd084d44fc
tree6f84aaf14b20ed843194147cd17dc5eea7b913a3
parent25d6e65aaef5cb8ae369d7a1300a2386dd2b59f9
BUG/MEDIUM: mux-fcgi: Use a safe loop to resume each stream eligible for sending

At the end of fcgi_send(), if the connection is not full anymore, we loop on
the send list to resume FCGI stream for sending. But a streams may be
removed from the this list during the loop. So a safe loop must be used.

This patch should be backported to all stable versions.
src/mux_fcgi.c