mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-10 00:52:45 +02: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.