]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-quic: report errors on conn-streams
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 6 Apr 2022 13:46:30 +0000 (15:46 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 7 Apr 2022 08:37:45 +0000 (10:37 +0200)
commitfe035eca3a24ea0f031fdcdad23809bea5de32e4
tree877e926d65d8fa2d96fe67da0471a1cff1af835d
parentd97fc804f94ad47f8487259cfee17d547825e579
MEDIUM: mux-quic: report errors on conn-streams

Complete the error reporting. For each attached streams, if CO_FL_ERROR
is set, mark them with CS_FL_ERR_PENDING|CS_FL_ERROR. This will notify
the upper layer to trigger streams detach and release of the MUX.

This reporting is implemented in a new function qc_wake_some_streams(),
called by qc_wake(). This ensures that a lower-layer error is quickly
reported to the individual streams.
include/haproxy/mux_quic.h
src/mux_quic.c