]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: conn_stream: apply endp_flags.cocci tree-wide
authorWilly Tarreau <w@1wt.eu>
Tue, 17 May 2022 14:31:36 +0000 (16:31 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 27 May 2022 17:33:34 +0000 (19:33 +0200)
commitd56377c5eb780761afdfac2284487ffb3cc49d61
tree38b08bafddc051343638a8b708e3de2cf617c4e2
parent70deec767a134ca0c6440a365510d8cf557a82a7
CLEANUP: conn_stream: apply endp_flags.cocci tree-wide

This changes all main uses of endp->flags to the se_fl_*() equivalent
by applying coccinelle script endp_flags.cocci. The se_fl_*() functions
themselves were manually excluded from the change, of course.

Note: 144 locations were touched, manually reviewed and found to be OK.

The script was applied with all includes:

  spatch --in-place --recursive-includes -I include --sp-file $script $files
16 files changed:
addons/promex/service-prometheus.c
include/haproxy/applet.h
include/haproxy/conn_stream.h
include/haproxy/mux_quic.h
src/applet.c
src/cache.c
src/cli.c
src/conn_stream.c
src/hlua.c
src/http_client.c
src/mux_fcgi.c
src/mux_h1.c
src/mux_h2.c
src/mux_pt.c
src/mux_quic.c
src/stats.c