]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-h1: Don't send more data than expected
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 4 Jun 2019 20:09:36 +0000 (22:09 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 5 Jun 2019 08:12:11 +0000 (10:12 +0200)
commitc31872fc04730696e9c686e8a6a50933344a8c10
treee15868823d50e871488dad2ca1b29284d217034c
parent54b5e214b0c07bcee0812dbb0dcc02cf89586d48
BUG/MINOR: mux-h1: Don't send more data than expected

In h1_snd_buf(), we try to consume as much data as possible in a loop. In this
loop, we first format the raw HTTP message from the HTX message, then we try to
send it. But we must be carefull to never send more data than specified by the
stream-interface.

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