MEDIUM: h3: send SETTINGS before STREAM frames
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 9 Jan 2023 09:34:25 +0000 (10:34 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 10 Jan 2023 16:49:50 +0000 (17:49 +0100)
commitf9b03265f08b7ee6a08dca5b6990a7b3c9252fbf
treec38eeed1cac1044942f749572245726d5fa9cc7f
parent20f2a425ffeda2e623aac4c702f4e44b1e122d1d
MEDIUM: h3: send SETTINGS before STREAM frames

Complete qcc_send_stream() function to allow to specify if the stream
should be handled in priority. Internally this will insert the qcs
instance in front of <qcc.send_list> to be able to treat it before other
streams.

This functionality is useful when some QUIC streams should be sent
before others. Most notably, this is used to guarantee that H3 SETTINGS
is done first via the control stream.

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