]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: pipes: Never allocate more than maxpipes master
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 7 Aug 2026 10:20:05 +0000 (12:20 +0200)
committerOlivier Houchard <cognet@ci0.org>
Fri, 7 Aug 2026 10:13:45 +0000 (12:13 +0200)
commit734a535200630c85ebb75510853234ca5a26fc00
tree4f21cc84a27cac877b2821ba7279ea866a63fb00
parent36ab78f7b4f4a8113e38d35cae2ce8f6c381116a
MEDIUM: pipes: Never allocate more than maxpipes

Commit c81d794822cf8fa3c2e163cbf4cba80ad0dd9a47 made it so we could have
one pipe pool per thread group, however it did not limit how many pipes
we'd allocate per thread group, so one thread group could end up having
all the pipes. Prevent that by allowing a maximum of maxpipes / nbtgroup
per thread group.
src/pipe.c