From 828b5cae24f139e14c46a933006819120a05ad7a Mon Sep 17 00:00:00 2001 From: Andy Green Date: Tue, 15 Dec 2020 11:50:46 +0000 Subject: [PATCH] ss: h2: set alpn In order to force h2, we need to specify the client acceptable alpn as h2 --- lib/secure-streams/protocols/ss-h2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/secure-streams/protocols/ss-h2.c b/lib/secure-streams/protocols/ss-h2.c index e46ee520c..b23cf7333 100644 --- a/lib/secure-streams/protocols/ss-h2.c +++ b/lib/secure-streams/protocols/ss-h2.c @@ -193,7 +193,7 @@ secstream_tx_credit_est_h2(lws_ss_handle_t *h) const struct ss_pcols ss_pcol_h2 = { "h2", - NULL, + "h2", &protocol_secstream_h2, secstream_connect_munge_h2, secstream_tx_credit_add_h2,