]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: handle RESET_STREAM reception
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 9 Dec 2022 15:25:48 +0000 (16:25 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 22 Dec 2022 15:38:04 +0000 (16:38 +0100)
commit5854fc08cc3985697580ad1ffac165ca483f4008
tree570f298d5325ee0c7134e1aa0dfeb81b330f80c6
parentbb6296ce065bf67f82dce2c0f5d37164b68d7bfc
MINOR: mux-quic: handle RESET_STREAM reception

Implement RESET_STREAM reception by mux-quic. On reception, qcs instance
will be mark as remotely closed and its Rx buffer released. The stream
layer will be flagged on error if still attached.

This commit is part of implementing H3 errors at the stream level.
Indeed, on H3 stream errors, STOP_SENDING + RESET_STREAM should be
emitted. The STOP_SENDING will in turn generate a RESET_STREAM by the
remote peer which will be handled thanks to this patch.

This should be backported up to 2.7.
include/haproxy/mux_quic.h
src/mux_quic.c
src/quic_conn.c