From 6f8b60681168d0974121853d0a8161a5e84efc94 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Fri, 17 Jan 2020 18:54:44 +0000 Subject: [PATCH] h2: stream binding: do not try to join existing connection until migrated --- lib/core-net/vhost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core-net/vhost.c b/lib/core-net/vhost.c index ce417df8f..722ad857b 100644 --- a/lib/core-net/vhost.c +++ b/lib/core-net/vhost.c @@ -1439,7 +1439,7 @@ lws_vhost_active_conns(struct lws *wsi, struct lws **nwsi, const char *adsin) * h2: in usable state already: just use it without * going through the queue */ - if (w->client_h2_alpn && + if (w->client_h2_alpn && w->client_mux_migrated && (lwsi_state(w) == LRS_H2_WAITING_TO_SEND_HEADERS || lwsi_state(w) == LRS_ESTABLISHED)) {