MINOR: quic: use dynamically allocated frame on parsing
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 5 Nov 2024 15:33:27 +0000 (16:33 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 8 Nov 2024 14:54:11 +0000 (15:54 +0100)
commit67aa5ae0e5c054bfbdace81c51b951c16d6348bf
treec97605173bf508e912ec85788c35d40e861ca493
parent9c41bc6d2af64fa3af8c35c21d6a34a6f75d726b
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.

(cherry picked from commit 190fc97606560568bf4a611d92c1e70aed057843)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/quic_rx.c