]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: extend return value during TP parsing
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 6 May 2025 16:10:27 +0000 (18:10 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 7 May 2025 13:19:52 +0000 (15:19 +0200)
commit294bf26c06404e35edd4ad3381ccb26e835bd7a1
tree0387ec824455b8846e86b2d3a1c1712264231879
parent46b5dcad9957982583d25342ed7ad8c8b30d8b71
MINOR: quic: extend return value during TP parsing

Extend API used for QUIC transport parameter decoding. This is done via
the introduction of a dedicated enum to report the various error
condition detected. No functional change should occur with this patch,
as the only returned code is QUIC_TP_DEC_ERR_TRUNC, which results in the
connection closure via a TLS alert.

This patch will be necessary to properly reject transport parameters
with the proper CONNECTION_CLOSE error code. As such, it should be
backported up to 2.6 with the following series.
include/haproxy/quic_tp-t.h
src/quic_ssl.c
src/quic_tp.c