From: Daniel Stenberg Date: Fri, 16 Sep 2022 13:01:57 +0000 (+0200) Subject: altsvc: use 'h3' for h3 X-Git-Tag: curl-7_86_0~217 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1bbffa08336d6dc647c45a3dbf7462174702bb88;p=thirdparty%2Fcurl.git altsvc: use 'h3' for h3 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 --- diff --git a/lib/altsvc.c b/lib/altsvc.c index 2c0b3bdc43..bda3bf4e0a 100644 --- a/lib/altsvc.c +++ b/lib/altsvc.c @@ -52,15 +52,7 @@ #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) {