]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h3: define non-h3 generic parsing function
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 24 May 2022 13:25:19 +0000 (15:25 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 25 May 2022 13:41:25 +0000 (15:41 +0200)
commitfc99a6933ed0dca6bf0ec1f94ec7e4dbefd59695
tree59e278d7378930df6a03299b32811f3392548001
parent302ecd490bcd8039ba6051d9ef421314e0f5ceee
MINOR: h3: define non-h3 generic parsing function

Define a new function h3_parse_uni_stream_no_h3(). It can be used to
handle the payload of streams which does not convey H3 frames. This is
mainly useful for QPACK encoder/decoder streams. It can also be used for
a stream of unknown type which should be drain without parsing it.

This patch is useful to extract code in a dedicated function. It will be
simple to reuse it in h3_decode_qcs() when uni-streams reception is
unify with bidirectional streams, without using dedicated stream tasklet.
src/h3.c