MINOR: buffer: split bi_contig_data() into ci_contig_data and b_config_data()
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Jun 2018 14:55:45 +0000 (16:55 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 19 Jul 2018 14:23:40 +0000 (16:23 +0200)
commit7194d3cc3b1321a132d139f906e62e970ef1cce2
treee8feffa94944f99afb50b80b39ee8670ddab64f9
parentd55fe397a0aa5c0c3f5b58d38e56ef20976f22d6
MINOR: buffer: split bi_contig_data() into ci_contig_data and b_config_data()

This function was sometimes used from a channel and sometimes from a buffer.
In both cases it requires knowledge of the size of the output data (to skip
them). Here the split ensures the channel can deal with this point, and that
other places not having output data can continue to work.
include/common/buf.h
include/common/buffer.h
include/proto/channel.h
src/cache.c
src/flt_http_comp.c
src/flt_trace.c
src/mux_h2.c