]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: applet: use the appctx's endp instead of cs->endp
authorWilly Tarreau <w@1wt.eu>
Tue, 10 May 2022 09:32:31 +0000 (11:32 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 13 May 2022 12:28:46 +0000 (14:28 +0200)
commit66435e5f6360adf5775e9d4852a9f1a2af56fe92
tree46da38f5541ac3fdd3e696d87fc9f0c258ed8615
parent15b0721ca5577cf675b8f122276986e84eaf7461
CLEANUP: applet: use the appctx's endp instead of cs->endp

The few applets that set CS_EP_EOI or CS_EP_ERROR used to set it on the
endpoint retrieved from the conn_stream while it's already available on
the appctx itself. Better use the appctx one to limit the unneeded
interactions between the two sides.
addons/promex/service-prometheus.c
src/applet.c
src/cache.c
src/cli.c
src/hlua.c
src/http_client.c
src/stats.c