]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: stats: Eat output data when waiting for appctx shutdown
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 11 Apr 2023 05:41:30 +0000 (07:41 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 11 Apr 2023 05:43:26 +0000 (07:43 +0200)
commit9837bd86dc8ca0de785e9c909f8c551a283e6bd1
tree9ccea7c5ee30260a0b0f3345d84f508503cbb53c
parent1901c1bf5a55eb3e1ba9a85a8463e0474d63d927
BUG/MEDIUM: stats: Eat output data when waiting for appctx shutdown

When the stats applet is executed while a shut is pending, the remaining
output data must always be consumed. Otherwise, this can prevent the stream
to exit, leading to a spinning loop on the applet.

It is 2.8-specific. No backport needed.
src/stats.c