]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: emit FINAL_SIZE_ERROR on invalid STREAM size
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 4 Jul 2022 08:02:04 +0000 (10:02 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 5 Jul 2022 14:44:01 +0000 (16:44 +0200)
commitbf91e3922bdea9034e6d19b2913d89707ae1d1f3
treed5d796ceef357b65b0b11537d50c0b9562cd4ada
parent3f39b40fe0086e6c4464ec9db6b84a6ba97b350e
MINOR: mux-quic: emit FINAL_SIZE_ERROR on invalid STREAM size

Add a check on stream size when the stream is in state Size Known. In
this case, a STREAM frame cannot change the stream size. If this is not
respected, a CONNECTION_CLOSE with FINAL_SIZE_ERROR will be emitted as
specified in the RFC 9000.
src/mux_quic.c