mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-15 23:52:02 +02:00
In this patch, we add default functions to copy data from a channel to the <inbuf> buffer of an applet (appctx_rcv_buf) and another on to copy data from <outbuf> buffer of an applet to a channel (appctx_snd_buf). These functions are not used for now, but they will be used by applets to define their <rcv_buf> and <snd_buf> callback functions. Of course, it will be possible for a specific applet to implement its own functions but these ones should be good enough for most of applets. HTX and RAW buffers are supported.