Willy Tarreau c73a81469e BUG/MINOR: mux-h2: count a protocol error when failing to parse a trailer
Commit aab1a60977 ("BUG/MEDIUM: h2/htx: always fail on too large trailers")
explicitly returned an RST_STREAM on failure to decode some trailers, and
used the code H2_ERR_INTERNAL_ERROR. However there are multiple possible
causes for this failure to happen, and it turns out that it's much more
likely to be related to a protocol error than a decompression error. So
let's change this to PROTOCOL_ERROR, and count a protocol error on the
proxy and in the session.

This can be backported to all stable versions (with adjustments related
to these versions, maybe focusing on 3.2 max is reasonable).
2026-04-22 15:57:20 +02:00
..
2025-01-07 16:42:38 +01:00
2026-04-14 10:57:21 +02:00
2026-04-02 14:02:04 +02:00
2026-04-02 14:02:04 +02:00
2026-03-02 10:44:59 +01:00