mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-05-11 20:28:13 +00:00
BUG/MEDIUM: h2: Don't bogusly error if the previous stream was closed.
In h2_process_demux(), if we're demuxing multiple frames, and the previous frame led to a stream getting closed, don't bogusly consider that an error, and destroy the next stream, as there are valid cases where the stream could be closed.
This commit is contained in:
parent
73bce43812
commit
0024a98640
@ -1920,13 +1920,6 @@ static void h2_process_demux(struct h2c *h2c)
|
||||
tasklet_wakeup(h2s->recv_wait->task);
|
||||
h2s->recv_wait = NULL;
|
||||
}
|
||||
if (h2c->st0 >= H2_CS_ERROR)
|
||||
goto strm_err;
|
||||
|
||||
if (h2s->st >= H2_SS_ERROR) {
|
||||
/* stream error : send RST_STREAM */
|
||||
h2c->st0 = H2_CS_FRAME_E;
|
||||
}
|
||||
}
|
||||
h2s = tmp_h2s;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user