mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-14 07:21:01 +01:00
bi_swpbuf() swaps the buffer passed in argument with the one attached to the channel, but only if this last one is empty. The idea is to avoid a copy when buffers can simply be swapped.