]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: use dynamically allocated frame on parsing
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 5 Nov 2024 15:33:27 +0000 (16:33 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 6 Nov 2024 13:28:14 +0000 (14:28 +0100)
commit190fc97606560568bf4a611d92c1e70aed057843
tree06f20d9d069e981c2176d10ce4c7fd5df400a754
parent498a99a84956535a9ce2a61cb908d0fc81165606
MINOR: quic: use dynamically allocated frame on parsing

qc_parse_pkt_frms() is the function responsible to parse a received QUIC
packet. Payload is decoded and splitted into individual frames which are
then handled individually. Previously, frame was used as locally stack
allocated. Change this to work on a dynamically allocated frame.

This commit does bring any functional changes. However, it will be
useful to extend packet parsing. In particular, it will be necessary to
save some frames during parsing to reparse them after the others.
src/quic_rx.c