mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 16:48:49 -05:00
altsvc: make quiche use h3-22 now
This commit is contained in:
parent
e9bbc81299
commit
92dc514c5b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user