mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-03 20:39:41 -05:00
MINOR: mux-h2: add missing glitch count for non-decodable H2 headers
One rare error case could produce a protocol error on the stream when not being able to decode response headers wasn't being accounted as a glitch, so let's fix it.
This commit is contained in:
parent
c8750e4e9d
commit
52adeef7e1
1 changed files with 1 additions and 0 deletions
|
|
@ -3721,6 +3721,7 @@ static struct h2s *h2c_bck_handle_headers(struct h2c *h2c, struct h2s *h2s)
|
|||
}
|
||||
|
||||
/* stream error : send RST_STREAM */
|
||||
h2c_report_glitch(h2c, 1, "couldn't decode response HEADERS");
|
||||
TRACE_ERROR("couldn't decode response HEADERS", H2_EV_RX_FRAME|H2_EV_RX_HDR, h2c->conn, h2s);
|
||||
h2s_error(h2s, H2_ERR_PROTOCOL_ERROR);
|
||||
h2c->st0 = H2_CS_FRAME_E;
|
||||
|
|
|
|||
Loading…
Reference in a new issue