]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: applet: Add function to get amount of data in the output buffer
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 5 Nov 2025 10:36:07 +0000 (11:36 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 6 Nov 2025 14:01:29 +0000 (15:01 +0100)
commit1effe0fc0ab54ae3cc6c5e832276f3446f5d5eef
tree8ad88e6799a0f74c959dc15e41317e9a6d9bc3b3
parent4991a51208022a98be7d84f6cf49f5bf02486819
MINOR: applet: Add function to get amount of data in the output buffer

The helper function applet_output_data() returns the amount of data in the
output buffer of an applet. For applets using the new API, it is based on
data present in the outbuf buffer. For legacy applets, it is based on input
data present in the input channel's buffer. The HTX version,
applet_htx_output_data(), is also available

This patch is related to issue #1617.
include/haproxy/applet.h