]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-quic: handle when sending buffer is full
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 3 Dec 2021 13:40:01 +0000 (14:40 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 7 Dec 2021 14:44:45 +0000 (15:44 +0100)
commit84ea8dcbc45cb0ae9f966bbf1882f48fe4a7037f
treeb13d3b50776bec5cf2ba64355de99a19297543be
parente257d9e8ec576b92c0d6a2fdabdef5085102ec9a
MEDIUM: mux-quic: handle when sending buffer is full

Handle the case when the app layer sending buffer is full. A new flag
QC_SF_BLK_MROOM is set in this case and the transfer is interrupted. It
is expected that then the conn-stream layer will subscribe to SEND.

The MROOM flag is reset each time the muxer transfer data from the app
layer to its own buffer. If the app layer has been subscribed on SEND it
is woken up.
include/haproxy/mux_quic-t.h
src/h3.c
src/hq_interop.c
src/mux_quic.c