]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stats: Use the applet API to write data
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 5 May 2023 08:59:39 +0000 (10:59 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 5 May 2023 13:41:29 +0000 (15:41 +0200)
commitf4258bdf3b21f24a328bf0ae1407080faff2f109
treeea5a661bf05e02d0d41072515e5b0ddf31a48ca9
parente8ee27b0fd8e98364e579f9efc9d0a7d6261b6ec
MINOR: stats: Use the applet API to write data

stats_putchk() is updated to use the applet API instead of the channel API
to write data. To do so, the appctx is passed as parameter instead of the
channel. This way, the applet does not need to take care to request more
room it it fails to put data into the channel's buffer.
include/haproxy/stats.h
src/resolvers.c
src/stats.c