From: Christopher Faulet Date: Tue, 11 Dec 2018 15:26:50 +0000 (+0100) Subject: BUG/MEDIUM: mux-h1: Wake the stream for send once the connection is established X-Git-Tag: v1.9-dev11~63 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a0883e6cd43e425a28aad2be1681e0120ad10f1e;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/mux_h1.c b/src/mux_h1.c index 8a818ba11b..21f539d1fe 100644 --- a/src/mux_h1.c +++ b/src/mux_h1.c @@ -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) {