]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: applet: set the blocking flag in the buffer allocation function
authorWilly Tarreau <w@1wt.eu>
Tue, 7 May 2024 17:16:20 +0000 (19:16 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 10 May 2024 15:18:13 +0000 (17:18 +0200)
commit4ffb3b5ebe08e24fb88d125ec1f7e53c2b1b43d3
tree0ccdbb8fa2f6a2ad4c7c4e29a53cbbe73a315720
parentee0d56ac85170f22a1bb9c5f2384198856c9eb8e
MINOR: applet: set the blocking flag in the buffer allocation function

Instead of having each caller of appctx_get_buf() think about setting
the blocking flag, better have the function do it, since it's already
handling the queue anyway. This way we're sure that both are consistent.
include/haproxy/applet.h
src/applet.c
src/cache.c
src/cli.c
src/stats-html.c