]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: channel: simplify the channel's buffer allocation
authorWilly Tarreau <w@1wt.eu>
Mon, 22 Mar 2021 13:41:38 +0000 (14:41 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 22 Mar 2021 15:19:45 +0000 (16:19 +0100)
commit0f495b3d87b063a98cb8ddc846d6510703e1d0ea
treeef226268b146e91c6e822e51f91954083fbb0d22
parentf499f50c8fc1a2eeaf590c38d28c864b617b2d36
MINOR: channel: simplify the channel's buffer allocation

The channel's buffer allocator, channel_alloc_buffer(), was still relying
on the principle of a margin for the request and not for the response.
But this margin stopped working around 1.7 with the introduction of the
content filters such as SPOE, and was completely anihilated with the
local pools that came with threads. Let's simplify this and just use
b_alloc().
include/haproxy/channel.h