]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-quic: use direct send transport API for STREAMs
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 9 Feb 2022 17:16:49 +0000 (18:16 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 4 Mar 2022 16:00:12 +0000 (17:00 +0100)
commit2c71fe58f03a5d6e8c40be972569fb2c7dac0ade
tree9e57f49b9ad98ea94975a54c75428157f19db002
parent414df7684a155d101549c314d2b0f38286f3c2b7
MEDIUM: mux-quic: use direct send transport API for STREAMs

Modify the STREAM emission in qc_send. Use the new transport function
qc_send_app_pkts to directly send the list of constructed frames. This
allows to remove the tasklet wakeup on the quic_conn and should reduce
the latency.

If not all frames are send after the transport call, subscribe the MUX
on the lower layer to be able to retry. Currently there is a bug because
the transport layer does not retry to send frames in excess after a
successful sendto. This might cause the transfer to be interrupted.
include/haproxy/mux_quic-t.h
src/mux_quic.c