MINOR: channel/buffer: replace buffer_slow_realign() with channel_slow_realign()...
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Jun 2018 04:53:15 +0000 (06:53 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 19 Jul 2018 14:23:40 +0000 (16:23 +0200)
commit4cf1300e6a0127d73bf5fc57df40d8103cc58f82
tree0dab66b3254c89f4aecc55b60c884c2d3c0a33b4
parentd5b343bf9e059916eeb24b025e82e9dcb649df33
MINOR: channel/buffer: replace buffer_slow_realign() with channel_slow_realign() and b_slow_realign()

Where relevant, the channel version is used instead. The buffer version
was ported to be more generic and now takes a swap buffer and the output
byte count to know where to set the alignment point. The H2 mux still
uses buffer_slow_realign() with buf->o but it will change later.
include/common/buf.h
include/common/buffer.h
include/proto/channel.h
src/buffer.c
src/hlua.c
src/mux_h2.c
src/proto_http.c