]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-quic: implement RESET_STREAM emission
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 4 Jul 2022 09:44:38 +0000 (11:44 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 11 Jul 2022 14:45:04 +0000 (16:45 +0200)
commit843a1196b3fc42b99ec1880142e11f3ca5e8866b
tree243f45696e2015833b0785f95f99ef070a281976
parent20d1f84ce49f63e59b33650f2912ac1f1bc23b74
MEDIUM: mux-quic: implement RESET_STREAM emission

Implement functions to be able to reset a stream via RESET_STREAM.

If needed, a qcs instance is flagged with QC_SF_TO_RESET to schedule a
stream reset. This will interrupt all future send operations.

On stream emission, if a stream is flagged with QC_SF_TO_RESET, a
RESET_STREAM frame is generated and emitted to the transport layer. If
this operation succeeds, the stream is locally closed. If upper layer is
instantiated, error flag is set on it.
include/haproxy/mux_quic-t.h
include/haproxy/mux_quic.h
src/mux_quic.c