]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MEDIUM: mux-h1: Wake the stream for send once the connection is established
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 11 Dec 2018 15:26:50 +0000 (16:26 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 13 Dec 2018 16:32:15 +0000 (17:32 +0100)
We must do that to let the connection retry working. Otherwise, the stream never
retry to send its data once the connection is established.

src/mux_h1.c

index 8a818ba11beaeeac32e1116606f1bfa1809b0f6a..21f539d1fed3e444b31be079354889087b849222 100644 (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) {