]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: pools: change the static pool creation to pass a registration
authorWilly Tarreau <w@1wt.eu>
Tue, 5 Aug 2025 16:59:15 +0000 (18:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Aug 2025 17:20:30 +0000 (19:20 +0200)
commitff62aacb208151ddedb9a0d146b8d721fd1eafb8
tree01af61719385ba50a2c6f5f711ce305888172502
parentf51d58bd2e386ca84550bd234ff22c1292d12e09
MEDIUM: pools: change the static pool creation to pass a registration

Now we're creating statically allocated registrations instead of
passing all the parameters and allocating them on the fly. Not only
this is simpler to extend (we're limited in number of INITCALL args),
but it also leaves all of these in the data segment where they are
easier to find when debugging.
include/haproxy/pool.h
src/pool.c