]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-h1: Inherit send flags from the upper layer
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 17 Oct 2019 14:04:20 +0000 (16:04 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 20 Jan 2020 14:18:45 +0000 (15:18 +0100)
commit46230363af6cb9332580ce9a8594251f1aa365b5
treebfb8d6057aeb37f307b5fc19ead1fbb4e67a0df8
parentd47941d6ac321b2935282d80bfb35657ca2141a0
MINOR: mux-h1: Inherit send flags from the upper layer

Send flags (CO_SFL_*) used when xprt->snd_buf() is called, in h1_send(), are now
inherited from the upper layer, when h1_snd_buf() is called. First, the flag
CO_SFL_MSG_MORE is no more set if the output buffer is full, but only if the
stream-interface decides to set it. It has more info to do it than the
mux. Then, the flag CO_SFL_STREAMER is now also handled this way. It was just
ignored till now.
src/mux_h1.c