Put H3 in front of ALPN list
@@ -37,6 +37,8 @@ typedef struct st_picoquic_alpn_list_t {
} picoquic_alpn_list_t;
static picoquic_alpn_list_t alpn_list[] = {
+ { picoquic_alpn_http_3, "h3", 2 },
+ { picoquic_alpn_http_0_9, "hq-interop", 10 },
{ picoquic_alpn_http_3, "h3-34", 5 },
{ picoquic_alpn_http_0_9, "hq-34", 5 },
{ picoquic_alpn_http_3, "h3-33", 5 },
@@ -53,8 +55,6 @@ static picoquic_alpn_list_t alpn_list[] = {
{ picoquic_alpn_http_0_9, "hq-28", 5 },
{ picoquic_alpn_http_3, "h3-27", 5 },
{ picoquic_alpn_http_0_9, "hq-27", 5 },
- { picoquic_alpn_http_3, "h3", 2 },
- { picoquic_alpn_http_0_9, "hq-interop", 10 },
{ picoquic_alpn_siduck, "siduck", 6 },
{ picoquic_alpn_siduck, "siduck-00", 9 },
{ picoquic_alpn_quicperf, QUICPERF_ALPN, QUICPERF_ALPN_LEN}
