]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: report error on stream-endpoint earlier
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 24 May 2023 12:43:43 +0000 (14:43 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 24 May 2023 12:46:52 +0000 (14:46 +0200)
commit152beeec34baed98ad4c186454ddb25e4c496b50
treec88db7fbe1c43972dd355e0cde17152aad96dc00
parent37d78997ae90794b820da1c4263037f183aca24a
MINOR: mux-quic: report error on stream-endpoint earlier

A RESET_STREAM is emitted in several occasions :
- protocol error during HTTP/3.0 parsing
- STOP_SENDING reception

In both cases, if a stream-endpoint is attached we must set its ERR
flag. This was correctly done but after some delay as it was only when
the RESET_STREAM was emitted. Change this to set the ERR flag as soon as
one of the upper cases has been encountered. This should help to release
faster streams in error.

This should be backported up to 2.7.
src/mux_quic.c