1
0
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:
Daniel Stenberg 2019-08-05 23:13:17 +02:00
parent e9bbc81299
commit 92dc514c5b
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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