]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: applet: Rely on applet flag to detect the new api
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 29 Jul 2025 06:13:07 +0000 (08:13 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 25 Aug 2025 09:11:05 +0000 (11:11 +0200)
commit3de6c375aa3eac6422369df309e272c8ff1f47d4
treec3c73571b5f2e972197eca0f318d4af0ca9d2304
parent3da1d63749d23d68119f55e9fb54806ca1bdf388
MINOR: applet: Rely on applet flag to detect the new api

Instead of setting a flag on the applet context by checking the defined
callback functions of the applet to know if an applet is using the new API
or not, we can now rely on the applet flags itself. By checking
APPLET_FL_NEW_API flag, it does the job. APPCTX_FL_INOUT_BUFS flag is thus
removed.
include/haproxy/applet-t.h
include/haproxy/applet.h
include/haproxy/sc_strm.h
src/applet.c
src/stconn.c