commit | 90ed3836db053d674f488d6860aa95d3bae22820 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Jun 15 14:20:26 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jul 19 16:23:40 2018 +0200 |
tree | ba605c204fb7c33eec57abbba5436e1f1f261d29 | |
parent | e4d5a036ed60cad8ea8ef849a40d5474ef3c3364 [diff] |
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.