]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: extend qc_send_mux() return type with a dedicated enum
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 25 Oct 2024 14:31:26 +0000 (16:31 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 19 Nov 2024 15:16:48 +0000 (16:16 +0100)
commit7fd48a572386d55b1913ca9c8da91b8f8bcc8205
tree4eec953a6134e8915f88f348baf5cd9ae004ea51
parent5cb8f8a6224db96f4386277c41ddae4a29a4130d
MINOR: quic: extend qc_send_mux() return type with a dedicated enum

This commit is part of a adjustment on QUIC transport send API to
support pacing. Here, qc_send_mux() return type has been changed to use
a new enum quic_tx_err.

This is useful to explain different failure causes of emission. For now,
only two values have been defined : NONE and FATAL. When pacing will be
implemented, a new value would be added to specify that emission was
interrupted on pacing. This won't be a fatal error as this allows to
retry emission but not immediately.
include/haproxy/quic_tx-t.h
include/haproxy/quic_tx.h
src/mux_quic.c
src/quic_tx.c