mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
h2: stream binding: do not try to join existing connection until migrated
This commit is contained in:
parent
068a54a340
commit
6f8b606811
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue