]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: hq-interop: fix tx buffering
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 7 Dec 2021 15:19:03 +0000 (16:19 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 7 Dec 2021 16:08:52 +0000 (17:08 +0100)
commit5ede40be6763d3515164e8d123b7d6aaed27624b
tree1199e648e2934b5638cdcac7adc40bee0d90ac7a
parent73dcc6ee6285ed1b073e8cabf3998cb327319c28
MINOR: hq-interop: fix tx buffering

On h09 app layer, if there is not enought size in the tx buffer, the
transfer is interrupted and the flag QC_SF_BLK_MROOM is positionned.
The transfer is woken up by the mux when new buffer size becomes
available.

This ensure that no data is silently discarded during transfer. Without
this, once the buffer is full the data were removed and thus not send to
the client resulting in a truncating payload.
src/hq_interop.c