]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: h3: handle unknown frame type on request stream as specified
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 4 Sep 2026 07:55:36 +0000 (09:55 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 8 Sep 2026 13:02:29 +0000 (15:02 +0200)
commitfe1da6850ab3e89e242c1d8d53ef17a1ba1dee6b
treeb9b1f8078fceed1aee04755708ca4875d75a43cc
parent51827c43fc7f72791e4cb2f1cf513acdc88b430b
BUG/MINOR: h3: handle unknown frame type on request stream as specified

HTTP/3 specification allows the ability to define extra frame types. An
implementation must silently ignored unknown frame types.

Prior to this patch, haproxy stack completely discards an unknown frame.
However, on a request stream, if this acts as the last stream frame, it
would lead to a missing HTX EOM before the stream is closed on timeout.

Now, an HTX EOM is properly reported to the upper layer, which ensures
the request can successfully be achieved. A reset is emitted though if
no headers were previously received as in this case the HTTP request is
incomplete.

This must be backported up to 2.6.
src/h3.c