]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: buf: Add b_force_xfer() function
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 9 Sep 2021 14:53:33 +0000 (16:53 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 Sep 2021 13:27:25 +0000 (15:27 +0200)
commitc7860007cc967b1e30fe9ba01ceb188ae7747f9d
tree211079b2f0708e8f93e248ea605481e7b389d90f
parentb9c06fbe52924e4563098d68c55701fa78486027
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().
include/haproxy/buf.h