MINOR: mux-quic/h3: define stream close callback
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 30 Jan 2023 11:12:11 +0000 (12:12 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 30 Jan 2023 14:56:25 +0000 (15:56 +0100)
commit1e340ba6bc0f747bf94e14c91f0351a9a0d7cf03
treed5d15ef683daed418944b2a8ff066916af9b9612
parent4be54350145e4e5742e90dcc368cc6ce8c9ba8f2
MINOR: mux-quic/h3: define stream close callback

Define a new qcc_app_ops callback named close(). This will be used to
notify app-layer about the closure of a stream by the remote peer. Its
main usage is to ensure that the closure is allowed by the application
protocol specification.

For the moment, close is not implemented by H3 layer. However, this
function will be mandatory to properly reject a STOP_SENDING on the
control stream and preventing a later crash. As such, this commit must
be backported with the next one on 2.6.

This is related to github issue #2006.
include/haproxy/mux_quic-t.h
src/h3.c