]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic/pacing: support pacing emission on quic_conn layer
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 24 Oct 2024 14:06:48 +0000 (16:06 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 19 Nov 2024 15:16:48 +0000 (16:16 +0100)
commit8039fe43e621dcb5c07c4b7fd3427ae0fd1efdd5
treeb5cddd1ce6be8c63308b04f66698f9d1fbe5b248
parentab82fab442dca5f71ac29a4f0289b333418e5c69
MINOR: quic/pacing: support pacing emission on quic_conn layer

Pacing will be implemented for STREAM frames emission. As such,
qc_send_mux() API has been extended to add an argument to a quic_pacer
engine.

If non NULL, engine will be used to pace emission. In short, no more
than one datagram will be emitted for each qc_send_mux() invokation.
Pacer is then notified about the emission and a timer for a future
emission is calculated. qc_send_mux() will return PACING error value, to
inform QUIC MUX layer that it will be responsible to retry emission
after some delay.
include/haproxy/quic_pacing.h
include/haproxy/quic_tx-t.h
include/haproxy/quic_tx.h
src/mux_quic.c
src/quic_tx.c