]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: tree-wide: avoid manually initializing proxies
authorAurelien DARRAGON <adarragon@haproxy.com>
Wed, 9 Apr 2025 19:57:39 +0000 (21:57 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Thu, 10 Apr 2025 20:10:31 +0000 (22:10 +0200)
commit4194f756de09b859b85129481448b499aa95b021
treed18e76d0e5ba2cad9f10736a9d3c6824adefdf87
parent60f45564a113717c95e5e2ea4309df9f6b942c9c
MEDIUM: tree-wide: avoid manually initializing proxies

In this patch we try to use the proxy API init functions as much as
possible to avoid code redundancy and prevent proxy initialization
errors. As such, we prefer using alloc_new_proxy() and setup_new_proxy()
instead of manually allocating the proxy pointer and performing the
base init ourselves.
src/cfgparse.c
src/check.c
src/cli.c
src/flt_spoe.c
src/log.c
src/peers.c
src/resolvers.c
src/sink.c