mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
parent
fe514ad9ae
commit
d176a2c7e5
@ -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>
|
||||||
|
@ -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"))
|
||||||
|
Loading…
Reference in New Issue
Block a user