]> git.kaiwu.me - haproxy.git/commit
MINOR: h3/hq_interop: implement stream reset on shut abort/kill-conn
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 21 Apr 2026 12:58:53 +0000 (14:58 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 30 Apr 2026 15:18:20 +0000 (17:18 +0200)
commit2d6ebd0410c5084a78db2380f22041d4011ffd41
tree0d27de15c599f5060b9c133668adb762275a3c29
parentd0bd6a946b0df26f5e2e62565d7af6b6676c713f
MINOR: h3/hq_interop: implement stream reset on shut abort/kill-conn

Adjust QUIC mux stream shut procedure when abort or kill-conn is
performed. Changes are implemented directly into lclose callback for
h3/h09 protocols.

On abort, the stream is resetted as previously. The only change is that
now a proper error code can be used, with REQUEST_CANCELLED specified
for HTTP/3 protocol.

Kill-conn is requested when a tcp-requect connection reject rule has
been executed. In this case the stream is resetted, and the connection
is also closed. This is identical to the H2 multiplexer. HTTP/3 protocol
uses EXCESSIVE_LOAD as error code in this case.
src/h3.c
src/hq_interop.c