]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: buffer: add bo_del() to delete a number of characters from output
authorWilly Tarreau <w@1wt.eu>
Wed, 18 Oct 2017 06:32:12 +0000 (08:32 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 19 Oct 2017 13:01:07 +0000 (15:01 +0200)
commit7f564d2b60e169f7dd0b1d233ec3c41849296026
tree90906f9302305ec2c212cdb67a9249ed1e5543b3
parent253e53e661c49fb9723535319cf511152bf09bc7
MINOR: buffer: add bo_del() to delete a number of characters from output

This simply reduces the amount of output data from the buffer after
they have been transferred, in a way that is more natural than by
fiddling with buf->o. b_del() was renamed to bi_del() to avoid any
ambiguity (it's not yet used).
include/common/buffer.h