MINOR: buffer: replace bo_getblk() with direction agnostic b_getblk()
authorWilly Tarreau <w@1wt.eu>
Fri, 15 Jun 2018 12:20:26 +0000 (14:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 19 Jul 2018 14:23:40 +0000 (16:23 +0200)
commit90ed3836db053d674f488d6860aa95d3bae22820
treeba605c204fb7c33eec57abbba5436e1f1f261d29
parente4d5a036ed60cad8ea8ef849a40d5474ef3c3364
MINOR: buffer: replace bo_getblk() with direction agnostic b_getblk()

This new functoin limits itself to the amount of data available in the
buffer and doesn't care about the direction anymore. It's only called
from co_getblk() which already checks that no more than the available
output bytes is requested.
include/common/buf.h
include/common/buffer.h
src/channel.c