BUG/MEDIUM: mux-h1: Wake the stream for send once the connection is established

We must do that to let the connection retry working. Otherwise, the stream never
retry to send its data once the connection is established.
This commit is contained in:
Christopher Faulet 2018-12-11 16:26:50 +01:00 committed by Willy Tarreau
parent e17fa2ff9d
commit a0883e6cd4
1 changed files with 1 additions and 0 deletions

View File

@ -1780,6 +1780,7 @@ static int h1_process(struct h1c * h1c)
if (!(conn->flags & (CO_FL_CONNECTED|CO_FL_ERROR)))
goto end;
h1c->flags &= ~H1C_F_CS_WAIT_CONN;
h1_wake_stream_for_send(h1s);
}
if (!h1s) {