MINOR: buf: Add b_force_xfer() function

This function does exactly the same thing as b_xfer() which transfers
data from a struct buffer to another one but without zero copy when
the destination buffer is empty. This is at least useful to transfer
h3 data to the QUIC mux from buffer with garbage medata which have
been used to build h3 frames without too much memcopy()/memmove().

(cherry picked from commit c7860007cc967b1e30fe9ba01ceb188ae7747f9d)
[cf: backported becaues it is mandatory for a fix]
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed