]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: dynbuf: Add a pool for large buffers with a configurable size
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 30 Jan 2026 10:23:34 +0000 (11:23 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 18 Feb 2026 12:26:21 +0000 (13:26 +0100)
commitd89ec33a34d42a6a1726d08c39460abcb2e64549
tree029839b72c2fa806b4fe11f795f134926d7d2eff
parentee309bafcfae0dd93de5a49063c534461d5a2f04
MEDIUM: dynbuf: Add a pool for large buffers with a configurable size

Add the support for large bufers. A dedicated memory pool is added. The size
of these buffers must be explicitly configured by setting
"tune.bufsize.large" directive. If it is not set, the pool is not
created. In addition, if the size for large buffers is the same than for
regular buffer, the feature is automatically disable.

For now, large buffers remain unused.
doc/configuration.txt
include/haproxy/dynbuf.h
include/haproxy/global-t.h
src/cfgparse.c
src/dynbuf.c
src/haproxy.c
src/stream.c