mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-25 22:22:11 +00:00
BUG/MEDIUM: mux-h1: Always set CS_FL_RCV_MORE when data are received in h1_recv()
It is a warranty that the data will be handled by the stream, even if an error is reported on the connection or on the conn_stream.
This commit is contained in:
parent
75159a96de
commit
37e3607e37
@ -1492,7 +1492,7 @@ static int h1_recv(struct h1c *h1c)
|
||||
if (ret > 0) {
|
||||
rcvd = 1;
|
||||
if (h1s && h1s->cs) {
|
||||
h1s->cs->flags |= CS_FL_READ_PARTIAL;
|
||||
h1s->cs->flags |= (CS_FL_READ_PARTIAL|CS_FL_RCV_MORE);
|
||||
if (h1s->csinfo.t_idle == -1)
|
||||
h1s->csinfo.t_idle = tv_ms_elapsed(&h1s->csinfo.tv_create, &now) - h1s->csinfo.t_handshake;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user