]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-quic: subscribe on xprt if remaining data after send
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 3 Dec 2021 13:38:31 +0000 (14:38 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 7 Dec 2021 14:44:45 +0000 (15:44 +0100)
commita2c58a7c8da549da007f51a7e2106ce35b445b5a
tree2a5fa930c43ad340b04cdbd47c37a7732d3cb138
parenta3f222dc1e77e02079ef47eea7cc3623ffebdbe8
MEDIUM: mux-quic: subscribe on xprt if remaining data after send

The streams data are transferred from the qcs.buf to the qcs.xprt_buf
during qc_send. If the xprt_buf is not empty and not all data can be
transferred, subscribe the connection on the xprt for sending.

The mux will be woken up by the xprt when the xprt_buf will be cleared.
This happens on ACK reception.
src/mux_quic.c