]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: use send-list for STOP_SENDING/RESET_STREAM emission
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 6 Jan 2023 16:43:11 +0000 (17:43 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 10 Jan 2023 16:49:50 +0000 (17:49 +0100)
commit0a1154afb52c9358eb9462805cdbdc2c7b032400
treea6ff8f44ddabe5cdc921551bcfb45c85db18a6e3
parentf9b03265f08b7ee6a08dca5b6990a7b3c9252fbf
MINOR: mux-quic: use send-list for STOP_SENDING/RESET_STREAM emission

When a STOP_SENDING or RESET_STREAM must be send, its corresponding qcs
is inserted into <qcc.send_list> via qcc_reset_stream() or
qcc_abort_stream_read().

This allows to remove the iteration on full qcs tree in qc_send().
Instead, STOP_SENDING and RESET_STREAM is done in the loop over
<qcc.send_list> as with STREAM frames. This should improve slightly the
performance, most notably when large number of streams are opened.

This must be backported up to 2.7.
include/haproxy/mux_quic-t.h
src/mux_quic.c