]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mux-h2: make sure to always report pending errors to the stream
authorWilly Tarreau <w@1wt.eu>
Wed, 25 Feb 2026 23:18:44 +0000 (00:18 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 25 Feb 2026 23:30:42 +0000 (00:30 +0100)
commit44932b6c417e472d25039ec3d7b8bf14e07629bc
tree63a417d42bb646206e76dd9fb05ed29c880ed7aa
parente67e36c9eb35eb1477ae0e425a660ee0c631cecd
BUG/MEDIUM: mux-h2: make sure to always report pending errors to the stream

Some stream parsing errors that do not affect the connection result in
the parsed block not being transferred from the rx buffer to the channel
and not being reported upstream in rcv_buf(), causing the stconn to time
out. Let's detect this condition, and propagate term flags anyway since
no more progress will be made otherwise.

This should be backported at least till 3.2, probably even 2.8.
src/mux_h2.c