]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-h1: make use of buf_room_for_htx_data() instead of b_room()
authorWilly Tarreau <w@1wt.eu>
Wed, 5 Dec 2018 06:59:27 +0000 (07:59 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 5 Dec 2018 09:57:42 +0000 (10:57 +0100)
commit45f2b89156385d2d9d0f392e575e6a8bd0f62d77
treed96e159067f6712434256645588b91a8df1e9ea0
parent3906e22f6f0482f756eb8360b233e4d0da78b45b
MEDIUM: mux-h1: make use of buf_room_for_htx_data() instead of b_room()

Just by using this buffer room estimation for the demux buffer, the large
object performance has increased by up to 33%. This is mostly due to less
recv() calls and unaligned copies.
src/mux_h1.c