mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-04-09 10:47:34 +00:00
MINOR: mux-h2/traces: add a missing trace on negative initial window size
When a negative initial windows size is reported, we're going to close the connection, so it's important to report a trace to explain why! This should be backported at least to 3.1 and possibly 3.0 (adapting the context since there's no glitches there).
This commit is contained in:
parent
7f64bb79fd
commit
86823c828f
@ -2667,6 +2667,7 @@ static int h2c_handle_settings(struct h2c *h2c)
|
|||||||
if (arg < 0) { // RFC7540#6.5.2
|
if (arg < 0) { // RFC7540#6.5.2
|
||||||
error = H2_ERR_FLOW_CONTROL_ERROR;
|
error = H2_ERR_FLOW_CONTROL_ERROR;
|
||||||
h2c_report_glitch(h2c, 1);
|
h2c_report_glitch(h2c, 1);
|
||||||
|
TRACE_STATE("negative INITIAL_WINDOW_SIZE", H2_EV_RX_FRAME|H2_EV_RX_SETTINGS|H2_EV_H2C_ERR|H2_EV_PROTO_ERR, h2c->conn);
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
/* Let's count a glitch here in case of a reduction
|
/* Let's count a glitch here in case of a reduction
|
||||||
|
Loading…
Reference in New Issue
Block a user