]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mux-h1: Enable TCP splicing to exchange data only
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 16 Apr 2019 14:46:36 +0000 (16:46 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 17 Apr 2019 12:52:31 +0000 (14:52 +0200)
commite18777b79d7ac5a8e01e51a84addd453939f7ede
treeeee383fbcb92d19b279032a4a448ac6abcb08601
parentf7d5ff37e07483be5d6eca84379c83d1a8edadfa
BUG/MEDIUM: mux-h1: Enable TCP splicing to exchange data only

Use the TCP splicing only when the input parser is in the state H1_MSG_DATA or
H1_MSG_TUNNEL and don't transfer more than then known expected length for these
data (unlimited for the tunnel mode). In other states or when all data are
transferred, the TCP splicing is disabled.

This patch must be backported to 1.9.
src/mux_h1.c