]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: stats: Require more room if buffer is almost full
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 9 May 2023 14:31:01 +0000 (16:31 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 9 May 2023 14:36:45 +0000 (16:36 +0200)
commita236c582236e835070e422eefe67db737caa5cdc
treec774d256611635e28c0348c77cd5317543ecdcfa
parent557146ccc89f7370ec5f41272aa1fcdc78b55f18
BUG/MEDIUM: stats: Require more room if buffer is almost full

This was lost with commit f4258bdf3 ("MINOR: stats: Use the applet API to
write data"). When the buffer is almost full, the stats applet gives up.
When this happens, the applet must require more room. Otherwise, data in the
channel buffer are sent to the client but the applet is not woken up in
return.

It is a 2.8-specific bug, no backport needed.
src/stats.c