]> git.kaiwu.me - haproxy.git/commit
MINOR: mux-quic: filter send/receive-only streams on frame parsing
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 6 Jul 2022 13:43:21 +0000 (15:43 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 11 Jul 2022 14:24:03 +0000 (16:24 +0200)
commit5fbb8691d4ba3a1aa73691d05f2f8beb4ff3a1ab
tree6d88260ca6b6544f09ee91bd9e329e3e4cdd24e6
parent4561f84ad407064491c8c99e0bef87f03450b739
MINOR: mux-quic: filter send/receive-only streams on frame parsing

Extend the function qcc_get_qcs() to be able to filter send/receive-only
unidirectional streams. A connection error STREAM_STATE_ERROR is emitted
if this new filter does not match.

This will be useful when various frames handlers are converted with
qcc_get_qcs(). Depending on the frame type, it will be easy to filter on
the forbidden stream types as specified in RFC 9000.
src/mux_quic.c