1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-17 06:55:02 -05:00

altsvc: both backends run h3-23 now

Closes #4395
This commit is contained in:
Daniel Stenberg 2019-09-21 15:46:30 +02:00
parent fe514ad9ae
commit d176a2c7e5
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ in the master branch using pull-requests, just like ordinary changes.
Build (patched) OpenSSL Build (patched) OpenSSL
% git clone --depth 1 -b openssl-quic-draft-22 https://github.com/tatsuhiro-t/openssl % git clone --depth 1 -b openssl-quic-draft-23 https://github.com/tatsuhiro-t/openssl
% cd openssl % cd openssl
% ./config enable-tls1_3 --prefix=<somewhere1> % ./config enable-tls1_3 --prefix=<somewhere1>
% make % make
@ -52,7 +52,7 @@ Build nghttp3
Build ngtcp2 Build ngtcp2
% cd .. % cd ..
% git clone -b draft-22 https://github.com/ngtcp2/ngtcp2 % git clone https://github.com/ngtcp2/ngtcp2
% cd ngtcp2 % cd ngtcp2
% autoreconf -i % autoreconf -i
% ./configure PKG_CONFIG_PATH=<somewhere1>/lib/pkgconfig:<somewhere2>/lib/pkgconfig LDFLAGS="-Wl,-rpath,<somehere1>/lib" --prefix==<somewhere3> % ./configure PKG_CONFIG_PATH=<somewhere1>/lib/pkgconfig:<somewhere2>/lib/pkgconfig LDFLAGS="-Wl,-rpath,<somehere1>/lib" --prefix==<somewhere3>

View File

@ -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_NGHTTP2)) && !defined(UNITTESTS) #if (defined(USE_QUICHE) || defined(USE_NGHTTP2)) && !defined(UNITTESTS)
if(strcasecompare(name, "h3-22")) if(strcasecompare(name, "h3-23"))
return ALPN_h3; return ALPN_h3;
#else #else
if(strcasecompare(name, "h3")) if(strcasecompare(name, "h3"))