]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: dynbuf: Add helpers to know if a buffer is a default or a large buffer
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 13 Feb 2026 08:54:53 +0000 (09:54 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 18 Feb 2026 12:26:21 +0000 (13:26 +0100)
commita324616cdb0be7942313c18eb0d2595c2b5bf0b8
tree39021e337db265be85b512ff3b6b4b995ef8c54d
parent5737fc9518aa2976ececdbd46e63bfdaf86f0d92
MINOR: dynbuf: Add helpers to know if a buffer is a default or a large buffer

b_is_default() and b_is_large() can now be used to know if a buffer is a
default buffer or a large one. _b_free() now relies on it.

These functions are also used when possible (stream_free(),
stream_release_buffers() and http_wait_for_msg_body()).
include/haproxy/dynbuf.h
src/http_ana.c
src/stream.c