commit | 35df34223b5d45db8b498def39bd720a8d3f810e | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.org> | Mon Oct 10 17:27:47 2022 +0200 |
committer | William Lallemand <wlallemand@haproxy.org> | Thu Oct 13 16:45:28 2022 +0200 |
tree | 66f7e3fb3fcd57b12ccc95b97b9f47dcced605ec | |
parent | 9e4ead30953f964cf2f9f6738e432a267d857cb7 [diff] |
MINOR: buffers: split b_force_xfer() into b_cpy() and b_force_xfer() Split the b_force_xfer() into b_ncat() and b_force_xfer(). The previous b_force_xfer() implementation was basically a copy with a b_del on the src buffer. Keep this implementation to make b_ncat(), and just call b_ncat() + b_del() into b_force_xfer().