]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: applet: Add dedicated IN/OUT buffers for appctx
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 8 Jan 2024 07:05:59 +0000 (08:05 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 7 Feb 2024 14:03:01 +0000 (15:03 +0100)
commitab9d2c6ca80bf1bc954899ef935a5e8f514c658e
tree33a9f49c6580e7e77713d72040a2d47586fdb0d3
parent45ca9dadcd02d8473a2cfdc7d6e4fc7e1200238f
MINOR: applet: Add dedicated IN/OUT buffers for appctx

It is the first patch of a series aimed to align applets on connections.
Here, dedicated buffers are added for applets. For now, buffers are
initialized and helpers function to deal with allocation are added. In
addition, flags to report allocation failures or full buffers are also
introduced. <inbuf> will be used to push data to the applet from the stream
and <outbuf> will be used to push data from the applet to the stream.
include/haproxy/applet-t.h
include/haproxy/applet.h
src/applet.c