MEDIUM: stconn: Add functions to handle applets I/O from the SC layer
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 11 Jan 2024 09:10:06 +0000 (10:10 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 7 Feb 2024 14:03:23 +0000 (15:03 +0100)
commitf81b704d0154d3348389d59d3c70ad3e3940a377
treeae7ecd66f65e9a05c1ae3f9f5d4dd07e604bd113
parent525ec123055965f3ef08230c6b9008ac715e2fa0
MEDIUM: stconn: Add functions to handle applets I/O from the SC layer

There is no tasklet to handle I/O subscriptions for applets, but functions
to deal with receives and sends from the SC layer were added. it meanse a
function to retrieve data from an applet with this synchronous version and a
function to push data to an applet wit this synchronous version.

It is pretty similar to the functions used for muxes but there are some
differences. So for now, we keep them separated.

Zero-copy forwarding is not supported for now. In addition, there is no
subscription mechanism.
include/haproxy/sc_strm.h
src/stconn.c