]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: applet: Handle channel's STREAMER flags on applets size
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 21 Nov 2023 07:03:37 +0000 (08:03 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 6 Dec 2023 09:24:41 +0000 (10:24 +0100)
commit52c84ab0e0d30cf2a9ef2d069c0e695767a0c01e
tree6fb7e6fa9bf2660aacaf171547d50c6515ad7de9
parenta40321eb3b4188ac013db570d104e00d27f7afda
MEDIUM: applet: Handle channel's STREAMER flags on applets size

Till now, it was not possible to notify an producing applet is streaming
data. It means, it was not possible to set CF_STREAMER and CF_STREAMER_FLAGS
on the input channel of an applet streaming data.

While it is not a big deal for most of applets, it is interesting for the
cache. Because there are now dedicated functions to deal with these flags,
we can use them in task_run_applet() to set/unset these flags on the input
channel.

This patch relies on "MINOR: channel: Use dedicated functions to deal with
STREAMER flags".
src/applet.c