mirror of
https://github.com/moparisthebest/curl
synced 2024-12-24 17:18:48 -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"))
|
if(strcasecompare(name, "h2c"))
|
||||||
return ALPN_h2c;
|
return ALPN_h2c;
|
||||||
#ifdef USE_QUICHE
|
#ifdef USE_QUICHE
|
||||||
if(strcasecompare(name, "h3-20"))
|
if(strcasecompare(name, "h3-22"))
|
||||||
return ALPN_h3;
|
return ALPN_h3;
|
||||||
#else
|
#else
|
||||||
if(strcasecompare(name, "h3"))
|
if(strcasecompare(name, "h3"))
|
||||||
@ -78,7 +78,7 @@ const char *Curl_alpnid2str(enum alpnid id)
|
|||||||
return "h2c";
|
return "h2c";
|
||||||
case ALPN_h3:
|
case ALPN_h3:
|
||||||
#ifdef USE_QUICHE
|
#ifdef USE_QUICHE
|
||||||
return "h3-20";
|
return "h3-22";
|
||||||
#else
|
#else
|
||||||
return "h3";
|
return "h3";
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user