]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: applet: report about buffer allocation success
authorWilly Tarreau <w@1wt.eu>
Tue, 7 May 2024 17:22:08 +0000 (19:22 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 10 May 2024 15:18:13 +0000 (17:18 +0200)
commitcb2d758043e91d81d00787ab3b95a462e769d037
tree5ee5d1a826056188bb143804e9f9832be9e751f5
parent17d8916bb1c74cb20341c8565f34cbb0224f0a5b
MINOR: applet: report about buffer allocation success

When appctx_buf_available() is called, it now sets APPCTX_FL_IN_MAYALLOC
or APPCTX_FL_OUT_MAYALLOC depending on the reportedly permitted buffer
allocation, and these flags are cleared when the said buffers are
allocated. For now they're not used for anything else.
include/haproxy/applet-t.h
include/haproxy/applet.h
src/applet.c