mirror of
https://github.com/curl/curl.git
synced 2025-09-16 09:02:40 +03:00
altsvc: bump to h3-24
... as both ngtcp2 and quiche now support that in their master branches Closes #4604
This commit is contained in:
parent
82e4d029c5
commit
425c572a19
|
@ -55,7 +55,7 @@ static enum alpnid alpn2alpnid(char *name)
|
||||||
if(strcasecompare(name, "h2"))
|
if(strcasecompare(name, "h2"))
|
||||||
return ALPN_h2;
|
return ALPN_h2;
|
||||||
#if (defined(USE_QUICHE) || defined(USE_NGTCP2)) && !defined(UNITTESTS)
|
#if (defined(USE_QUICHE) || defined(USE_NGTCP2)) && !defined(UNITTESTS)
|
||||||
if(strcasecompare(name, "h3-23"))
|
if(strcasecompare(name, "h3-24"))
|
||||||
return ALPN_h3;
|
return ALPN_h3;
|
||||||
#else
|
#else
|
||||||
if(strcasecompare(name, "h3"))
|
if(strcasecompare(name, "h3"))
|
||||||
|
@ -74,7 +74,7 @@ const char *Curl_alpnid2str(enum alpnid id)
|
||||||
return "h2";
|
return "h2";
|
||||||
case ALPN_h3:
|
case ALPN_h3:
|
||||||
#if (defined(USE_QUICHE) || defined(USE_NGTCP2)) && !defined(UNITTESTS)
|
#if (defined(USE_QUICHE) || defined(USE_NGTCP2)) && !defined(UNITTESTS)
|
||||||
return "h3-23";
|
return "h3-24";
|
||||||
#else
|
#else
|
||||||
return "h3";
|
return "h3";
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user