]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: buffer: replace bo_getblk_nc() with b_getblk_nc() which takes an offset
authorWilly Tarreau <w@1wt.eu>
Thu, 14 Jun 2018 12:38:11 +0000 (14:38 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 19 Jul 2018 14:23:40 +0000 (16:23 +0200)
commita1f78fb65241ee6780ddec088344a16513089822
tree939d95ba33bf4a366b61d369ed62f20d2c49ce64
parent90ed3836db053d674f488d6860aa95d3bae22820
MINOR: buffer: replace bo_getblk_nc() with b_getblk_nc() which takes an offset

This will be important so that we can parse a buffer without touching it.
Now we indicate where from the buffer's head we plan to start to copy, and
for how many bytes. This will be used by send functions to loop at the end
of the buffer without having to update the buffer's output byte count.
include/common/buf.h
include/common/buffer.h
src/channel.c
src/mux_h2.c