]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-h1: Handle read0 during TCP splicing
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 17 Apr 2019 09:03:22 +0000 (11:03 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 17 Apr 2019 12:52:31 +0000 (14:52 +0200)
commit038ad8123bf51c1b3e4da0bba4be75e33714a5fc
tree65ce462296f90c6b53b2e54e43ab0d1bd4fc6ea4
parente18777b79d7ac5a8e01e51a84addd453939f7ede
MINOR: mux-h1: Handle read0 during TCP splicing

It avoids a roundtrip with underlying I/O callbacks to do so. If a read0 is
handled at the end of h1_rcv_pipe(), the flag CS_FL_REOS is set on the
conn_stream. And if there is no data in the pipe, the flag CS_FL_EOS is also
set.

This path may be backported to 1.9.
src/mux_h1.c