]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h3: check if frame is valid for stream type
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 24 May 2022 13:24:32 +0000 (15:24 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 25 May 2022 13:41:25 +0000 (15:41 +0200)
commit302ecd490bcd8039ba6051d9ef421314e0f5ceee
tree73b19c123c906f62b1c0ce8041a595b0387efb18
parent3555064e87ed52ec076a106d3b26c317853f3425
MINOR: h3: check if frame is valid for stream type

Define a new function h3_is_frame_valid(). It returns if a frame is
valid or not depending on the stream which received it.

For the moment, it is used in h3_decode_qcs() which only deals with
bidirectional streams. Soon, uni streams will use the same function,
rendering the frame type check useful.
src/h3.c