]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-quic: fix transport VS app CONNECTION_CLOSE
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 9 May 2023 16:01:09 +0000 (18:01 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 9 May 2023 16:42:34 +0000 (18:42 +0200)
commit58721f2192e0ff2cf8c2cd84cddd83d4de717314
tree59b42aec699cfc04d59a50a4084e20ca9f813cef
parent89fb2102140499346beb625e3fdc0d69f69e6307
BUG/MINOR: mux-quic: fix transport VS app CONNECTION_CLOSE

A recent series of patch were introduced to streamline error generation
by QUIC MUX. However, a regression was introduced : every error
generated by the MUX was built as CONNECTION_CLOSE_APP frame, whereas it
should be only for H3/QPACK errors.

Fix this by adding an argument <app> in qcc_set_error. When false, a
standard CONNECTION_CLOSE is used as error.

This bug was detected by QUIC tracker with the following tests
"stop_sending" and "server_flow_control" which requires a
CONNECTION_CLOSE frame.

This must be backported up to 2.7.
include/haproxy/mux_quic.h
src/h3.c
src/mux_quic.c
src/qpack-dec.c