]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: applet: remove the unneeded appctx->owner
authorWilly Tarreau <w@1wt.eu>
Wed, 11 May 2022 12:09:57 +0000 (14:09 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 13 May 2022 12:28:48 +0000 (14:28 +0200)
commit0698c80a5890f83df5e5ba9359474f5a3bea89b3
tree1c6f1d513b1f3e43795f78f02ae6060c72ae832f
parentc1b8d778054bbc0cf21f65bf387a58b73cc693af
CLEANUP: applet: remove the unneeded appctx->owner

This one is the pointer to the conn_stream which is always in the
endpoint that is always present in the appctx, thus it's not needed.
This patch removes it and replaces it with appctx_cs() instead. A
few occurences that were using __cs_strm(appctx->owner) were moved
directly to appctx_strm() which does the equivalent.
28 files changed:
addons/promex/service-prometheus.c
include/haproxy/applet-t.h
src/activity.c
src/applet.c
src/cache.c
src/cli.c
src/conn_stream.c
src/debug.c
src/dns.c
src/flt_spoe.c
src/hlua.c
src/http_client.c
src/log.c
src/map.c
src/mworker.c
src/peers.c
src/pool.c
src/proxy.c
src/resolvers.c
src/ring.c
src/server.c
src/sink.c
src/ssl_ckch.c
src/ssl_crtlist.c
src/ssl_sock.c
src/stats.c
src/stick_table.c
src/stream.c