]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
altsvc: use 'h3' for h3
authorDaniel Stenberg <daniel@haxx.se>
Fri, 16 Sep 2022 13:01:57 +0000 (15:01 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 16 Sep 2022 20:31:25 +0000 (22:31 +0200)
Since the official and real version has been out for a while now and servers
are deployed out there using it, there is no point in sticking to h3-29.

Reported-by: ウさん
Fixes #9515
Closes #9516

lib/altsvc.c

index 2c0b3bdc43f23cf2c5d6b6579c9456767056d534..bda3bf4e0a6f6ddc8b6aa8c5c87a4d82f6bbd332 100644 (file)
 #define MAX_ALTSVC_ALPNLENSTR "10"
 #define MAX_ALTSVC_ALPNLEN 10
 
-#if defined(USE_QUICHE) && !defined(UNITTESTS)
-#define H3VERSION "h3-29"
-#elif defined(USE_NGTCP2) && !defined(UNITTESTS)
-#define H3VERSION "h3-29"
-#elif defined(USE_MSH3) && !defined(UNITTESTS)
-#define H3VERSION "h3-29"
-#else
 #define H3VERSION "h3"
-#endif
 
 static enum alpnid alpn2alpnid(char *name)
 {