]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: applet: replace cs_applet_shut() with appctx_shut()
authorWilly Tarreau <w@1wt.eu>
Tue, 10 May 2022 17:42:22 +0000 (19:42 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 13 May 2022 12:28:48 +0000 (14:28 +0200)
commit1c3ead45a4fa6661860566c035c6655496da78c2
tree534f49f514f8350cc2b671b95c962652a3d6aa59
parent4201ab791d9b78c795b507fb00e43098aeeb43b1
MINOR: applet: replace cs_applet_shut() with appctx_shut()

The former takes a conn_stream still attached to a valid appctx,
which also complicates the termination of the applet. Instead, let's
pass the appctx which already points to the endpoint, this allows us
to properly detach the conn_stream before the call, which is cleaner
and safer.
include/haproxy/applet.h
src/applet.c
src/conn_stream.c