diff --git a/src/mux_h1.c b/src/mux_h1.c index c3293409d..c2d00303e 100644 --- a/src/mux_h1.c +++ b/src/mux_h1.c @@ -1587,6 +1587,8 @@ static int h1_recv(struct h1c *h1c) h1s->recv_wait = NULL; } + if (conn_xprt_read0_pending(conn)) + h1s->cs->flags |= CS_FL_REOS; if (!b_data(&h1c->ibuf)) h1_release_buf(h1c, &h1c->ibuf); else if (!buf_room_for_htx_data(&h1c->ibuf))