]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: Released QUIC TLS extension for QUIC v2 draft
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 9 Jun 2022 05:32:06 +0000 (07:32 +0200)
committerFrédéric Lécaille <flecaille@haproxy.com>
Thu, 16 Jun 2022 12:56:24 +0000 (14:56 +0200)
commite17bf772184ff14a925080a7e8b0ea7d5c8ca327
tree2d6f28ef456b3587361e601890a6a6bd1578e9be
parent86845c517198ffb9a767a16e12c15e909dff2fc3
MINOR: quic: Released QUIC TLS extension for QUIC v2 draft

This is not clear at all how to distinguish a QUIC draft version number from a
released one. And among these QUIC draft versions, which one must use the draft
QUIC TLS extension.

According to the QUIC implementations which support v2 draft, the TLS extension
(transport parameters) to be used is the released one
(TLS_EXTENSION_QUIC_TRANSPORT_PARAMETERS).

As the unique QUIC draft version we support is 0xff00001d and as at this time the
unique version with 0xff as most significant byte is this latter which must use
the draft TLS extension, we select the draft TLS extension
(TLS_EXTENSION_QUIC_TRANSPORT_PARAMETERS_DRAFT) only for such versions with 0xff
as most signification byte.
src/xprt_quic.c