MINOR: quic: Add a mask for TX frame builders and their authorized packet types
authorFrédéric Lécaille <flecaille@haproxy.com>
Fri, 30 Jul 2021 12:42:33 +0000 (14:42 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 Sep 2021 13:27:25 +0000 (15:27 +0200)
commitf5821dc7b734585d6d0867b7fc8d7e3a3ad0a3fd
tree37943188280145023a444e77803238400a010b6d
parent0ad0458a5652ecec0e00f182e3e28200eee84944
MINOR: quic: Add a mask for TX frame builders and their authorized packet types

As this has been done for RX frame parsers, we add a mask for each TX frame
builder to denote the packet types which are authorized to embed such frames.
Each time a TX frame builder is called, we check that its mask matches the
packet type the frame is built for.
src/quic_frame.c