]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: proxy: add setup_new_proxy() function
authorAurelien DARRAGON <adarragon@haproxy.com>
Wed, 9 Apr 2025 19:05:35 +0000 (21:05 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Thu, 10 Apr 2025 20:10:31 +0000 (22:10 +0200)
commite1cec655eeaca8ca8d27b3b2296e2c993e1bca97
treeec8a83423268e25c42cf6a5d6e350f6b16415170
parentea3c96369f4a5def90888c9207cd88010d473eb4
MINOR: proxy: add setup_new_proxy() function

Split alloc_new_proxy() in two functions: the preparing part is now
handled by setup_new_proxy() which can be called individually, while
alloc_new_proxy() takes care of allocating a new proxy struct and then
calling setup_new_proxy() with the freshly allocated proxy.
include/haproxy/proxy.h
src/proxy.c