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.
diff --git a/src/mux_h1.c b/src/mux_h1.c
index 6b00320..494c563 100644
--- a/src/mux_h1.c
+++ b/src/mux_h1.c
@@ -1492,7 +1492,7 @@
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;
}