]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-h2/htx: Support zero-copy when possible in h2_rcv_buf()
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 15 May 2019 08:07:59 +0000 (10:07 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 28 May 2019 05:42:12 +0000 (07:42 +0200)
commit2f6edc84a8a62fd21c817f5e8b0483f30a205284
tree44032ab44fa3426e5982f0347bbe1d3051c7c35d
parent9b04d22945b6b29b2e550fb4e6efb4b995127c88
MINOR: mux-h2/htx: Support zero-copy when possible in h2_rcv_buf()

If the channel's buffer is empty and the message is small enough, we can swap
the H2S buffer with the channel one.
src/mux_h2.c