]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: pool: make pool_is_crowded() always true when no shared pools are used
authorWilly Tarreau <w@1wt.eu>
Sat, 1 Jan 2022 20:00:07 +0000 (21:00 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 2 Jan 2022 18:35:26 +0000 (19:35 +0100)
commita06f78b37698151f5106d8755230d3fc8c47bd09
tree48f43439db4b0bd3d56b43c282600633c4b4aadf
parent57c5c6db0cc67e5d1673dee108712f5e9b603409
MINOR: pool: make pool_is_crowded() always true when no shared pools are used

This function is used to know whether the shared pools are full or if we
can store more objects in them. Right now it cannot be used in a generic
way because when shared pools are not used it will return false, letting
one think pools can accept objects. Let's make one variant for each build
model.
include/haproxy/pool.h