]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: pools: extend pool_cache API to pass a pointer to a caller
authorWilly Tarreau <w@1wt.eu>
Mon, 24 Jan 2022 14:51:50 +0000 (15:51 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 24 Jan 2022 15:40:48 +0000 (16:40 +0100)
commit0e2a5b4b61fa91b67e67631b8ae75295f22d0bee
treeb7d0721f31f2ce27386e3495ced34271a4b08647
parent7fa092b727f45b2cb0975c36e9c1c61732f47db7
MINOR: pools: extend pool_cache API to pass a pointer to a caller

This adds a caller to pool_put_to_cache() and pool_get_from_cache()
which will optionally be used to pass a pointer to their callers. For
now it's not used, only the API is extended to support this pointer.
include/haproxy/pool.h
src/pool.c