commit | df25acf47fc0858656b285a42f5e2f37145dab2f | [log] [tgz] |
---|---|---|
author | Amaury Denoyelle <adenoyelle@haproxy.com> | Wed May 04 16:47:09 2022 +0200 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Thu May 12 18:29:55 2022 +0200 |
tree | cd411c0e53b3b4f0ca83b98b678039d3a50b6b37 | |
parent | b830f0d8d9956581fb46c041ba05975ef8680d34 [diff] |
MINOR: ncbuf: implement advance A new function ncb_advance() is implemented. This is used to advance the buffer head pointer. This will consume the front data while forming a new gap at the end for future data. On success NCB_RET_OK is returned. The operation can be rejected if a too small new gap is formed in front of the buffer.