]> granicus.if.org Git - curl/commitdiff
altsvc: make quiche use h3-22 now
authorDaniel Stenberg <daniel@haxx.se>
Mon, 5 Aug 2019 21:13:17 +0000 (23:13 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 6 Aug 2019 05:39:27 +0000 (07:39 +0200)
lib/altsvc.c

index cdf97d680abfa00311df226f11db17a7c44e9288..b20ec13ae28786918012b22ef5ffe6e2a0b5cf51 100644 (file)
@@ -57,7 +57,7 @@ static enum alpnid alpn2alpnid(char *name)
   if(strcasecompare(name, "h2c"))
     return ALPN_h2c;
 #ifdef USE_QUICHE
-  if(strcasecompare(name, "h3-20"))
+  if(strcasecompare(name, "h3-22"))
     return ALPN_h3;
 #else
   if(strcasecompare(name, "h3"))
@@ -78,7 +78,7 @@ const char *Curl_alpnid2str(enum alpnid id)
     return "h2c";
   case ALPN_h3:
 #ifdef USE_QUICHE
-    return "h3-20";
+    return "h3-22";
 #else
     return "h3";
 #endif