]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: extend return value of CRYPTO parsing
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 4 Nov 2024 16:27:39 +0000 (17:27 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 6 Nov 2024 13:28:14 +0000 (14:28 +0100)
commitd65e782c8cd2f8554404dd1424e2d64f3786edb1
treef9f41b52a8a9e494c745bca0b7e90708b370f84b
parent190fc97606560568bf4a611d92c1e70aed057843
MINOR: quic: extend return value of CRYPTO parsing

qc_handle_crypto_frm() is the function used to handled a newly received
CRYPTO frame. Change its API to use a newly dedicated return type. This
allows to report if the frame was properly handled, ignored if already
parsed previously or rejected after a fatal error.

This commit does not have any functional changes. However, it allows to
simplify qc_handle_crypto_frm() API by removing <fast_retrans> as output
parameter. Also, this patch will be necessary to support multiple
iteration of packet parsing for CRYPTO frames.
include/haproxy/quic_rx-t.h
src/quic_rx.c