]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic-be: Correct Version Information transp. param encoding
authorFrederic Lecaille <flecaille@haproxy.com>
Wed, 17 Jan 2024 16:17:26 +0000 (17:17 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 11 Jun 2025 16:37:34 +0000 (18:37 +0200)
commit990c9f95f7faa57689b8f2c091a52ae4abf09564
tree8579daf6d113f25c8021a83512c10ea075b08243
parent9c751a3cc1b87db321d584358dc4f319be6c0a9c
MINOR: quic-be: Correct Version Information transp. param encoding

According to the RFC, a QUIC client must encode the QUIC version it supports
into the "Available Versions" of "Version Information" transport parameter
order by descending preference.

This is done defining <quic_version_2> and <quic_version_draft_29> new variables
pointers to the corresponding version of <quic_versions> array elements.
A client announces its available versions as follows: v1, v2, draft29.
include/haproxy/quic_conn-t.h
src/quic_conn.c
src/quic_tp.c