commit | c7860007cc967b1e30fe9ba01ceb188ae7747f9d | [log] [tgz] |
---|---|---|
author | Frédéric Lécaille <flecaille@haproxy.com> | Thu Sep 09 16:53:33 2021 +0200 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Thu Sep 23 15:27:25 2021 +0200 |
tree | 211079b2f0708e8f93e248ea605481e7b389d90f | |
parent | b9c06fbe52924e4563098d68c55701fa78486027 [diff] |
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().