]> git.kaiwu.me - haproxy.git/commit
MINOR: receiver: Dynamically alloc the "members" field of shard_info
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 7 Jan 2026 01:57:06 +0000 (02:57 +0100)
committerOlivier Houchard <ohouchard@haproxy.com>
Mon, 12 Jan 2026 08:32:27 +0000 (09:32 +0100)
commitc0f64fc36ae6de7b222a22fb485ba55ada3ad98e
tree8ca0b3b2acad67d8efe84f91fb1872336fb6731a
parent96faf71f870629866468cc0563af96a9ce32202f
MINOR: receiver: Dynamically alloc the "members" field of shard_info

Instead of always allocating MAX_TGROUPS members, allocate them
dynamically, using the number of thread groups we'll use, so that
increasing MAX_TGROUPS will not have a huge impact on the structure
size.
include/haproxy/receiver-t.h
src/listener.c