• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:enable +full:- +full:lib +full:- +full:only

1 <!--
4 SPDX-License-Identifier: curl
5 -->
11 [HTTP/3 Explained](https://http3-explained.haxx.se/en/) - the online free
14 [quicwg.org](https://quicwg.org/) - home of the official protocol drafts
22 [quiche](https://github.com/cloudflare/quiche) - **EXPERIMENTAL**
24 [OpenSSL 3.2+ QUIC](https://github.com/openssl/openssl) - **EXPERIMENTAL**
26 [msh3](https://github.com/nibanks/msh3) (with [msquic](https://github.com/microsoft/msquic)) - **EX…
31 when built to use *quiche* or *msh3*. Only the *ngtcp2* backend is not
35 master branch using pull-requests, just like ordinary changes.
39 - the used QUIC library needs to consider itself non-beta
40 - it is fine to "leave" individual backends as experimental if necessary
56 % git clone --depth 1 -b openssl-3.1.4+quic https://github.com/quictls/openssl
58 % ./config enable-tls1_3 --prefix=<somewhere1>
65 % git clone -b v1.1.0 https://github.com/ngtcp2/nghttp3
67 % git submodule update --init
68 % autoreconf -fi
69 % ./configure --prefix=<somewhere2> --enable-lib-only
76 % git clone -b v1.2.0 https://github.com/ngtcp2/ngtcp2
78 % autoreconf -fi
79 …ATH=<somewhere1>/lib/pkgconfig:<somewhere2>/lib/pkgconfig LDFLAGS="-Wl,-rpath,<somewhere1>/lib" --
88 % autoreconf -fi
89 …% LDFLAGS="-Wl,-rpath,<somewhere1>/lib" ./configure --with-openssl=<somewhere1> --with-nghttp3=<so…
93 …r later builds on Linux for x86_64 architecture, substitute all occurrences of "/lib" with "/lib64"
99 % git clone --depth 1 https://gitlab.com/gnutls/gnutls.git
102 % ./configure --prefix=<somewhere1>
109 % git clone -b v1.1.0 https://github.com/ngtcp2/nghttp3
111 % git submodule update --init
112 % autoreconf -fi
113 % ./configure --prefix=<somewhere2> --enable-lib-only
120 % git clone -b v1.2.0 https://github.com/ngtcp2/ngtcp2
122 % autoreconf -fi
123 …<somewhere1>/lib/pkgconfig:<somewhere2>/lib/pkgconfig LDFLAGS="-Wl,-rpath,<somewhere1>/lib" --pref…
132 % autoreconf -fi
133 % ./configure --with-gnutls=<somewhere1> --with-nghttp3=<somewhere2> --with-ngtcp2=<somewhere3>
143 % autoreconf -fi
144 …% ./configure --prefix=<somewhere1> --enable-quic --enable-session-ticket --enable-earlydata --ena…
151 % git clone -b v1.1.0 https://github.com/ngtcp2/nghttp3
153 % git submodule update --init
154 % autoreconf -fi
155 % ./configure --prefix=<somewhere2> --enable-lib-only
162 % git clone -b v1.2.0 https://github.com/ngtcp2/ngtcp2
164 % autoreconf -fi
165 …<somewhere1>/lib/pkgconfig:<somewhere2>/lib/pkgconfig LDFLAGS="-Wl,-rpath,<somewhere1>/lib" --pref…
174 % autoreconf -fi
175 … % ./configure --with-wolfssl=<somewhere1> --with-nghttp3=<somewhere2> --with-ngtcp2=<somewhere3>
189 % git clone --recursive -b 0.20.0 https://github.com/cloudflare/quiche
191 % cargo build --package quiche --release --features ffi,pkg-config-meta,qlog
192 % mkdir quiche/deps/boringssl/src/lib
193 …% ln -vnf $(find target/release -name libcrypto.a -o -name libssl.a) quiche/deps/boringssl/src/lib/
200 % autoreconf -fi
201 …% ./configure LDFLAGS="-Wl,-rpath,$PWD/../quiche/target/release" --with-openssl=$PWD/../quiche/qui…
215 % git clone -b openssl-3.2.0 https://github.com/openssl/openssl
217 % ./config enable-tls1_3 --prefix=<somewhere> --libdir=<somewhere>/lib
224 % git clone -b v1.1.0 https://github.com/ngtcp2/nghttp3
226 % git submodule update --init
227 % autoreconf -fi
228 % ./configure --prefix=<somewhere2> --enable-lib-only
237 % autoreconf -fi
238 …% LDFLAGS="-Wl,-rpath,<somewhere>/lib" ./configure --with-openssl=<somewhere> --with-openssl-quic
247 % cmake . -B build -DCURL_USE_OPENSSL=ON -DUSE_OPENSSL_QUIC=ON
248 % cmake --build build
249 % cmake --install build
266 % git clone -b v0.6.0 --depth 1 --recursive https://github.com/nibanks/msh3
268 % cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
269 % cmake --build .
270 % cmake --install .
276 % autoreconf -fi
277 % ./configure LDFLAGS="-Wl,-rpath,/usr/local/lib" --with-msh3=/usr/local --with-openssl
287 % git clone -b v0.6.0 --depth 1 --recursive https://github.com/nibanks/msh3
289 % cmake -G 'Visual Studio 17 2022' -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
290 % cmake --build . --config Release
291 % cmake --install . --config Release
293 **Note** - On Windows, Schannel is used for TLS support by default. If you
294 with to use (the quictls fork of) OpenSSL, specify the `-DQUIC_TLS=openssl`
299 prompt](../winbuild/README.md#open-a-command-prompt)):
305 **Note** - If you encounter a build error with `tool_hugehelp.c` being
309 Run in the `C:/Program Files/msh3/lib` directory, copy `curl.exe` to that
313 …% C:\Program Files\msh3\lib> F:\curl\builds\libcurl-vc-x64-release-dll-ipv6-sspi-schannel-msh3\bin…
315 # `--http3`
317 Use only HTTP/3:
319 curl --http3-only https://example.org:4433/
323 curl --http3 https://example.org:4433/
325 Upgrade via Alt-Svc:
327 curl --alt-svc altsvc.cache https://curl.se/
329 See this [list of public HTTP/3 servers](https://bagder.github.io/HTTP3-test/)
333 With option `--http3` curl attempts earlier HTTP versions as well should the
339 `--happy-eyeballs-timeout-ms value`. Since HTTP/3 is still relatively new, we
340 decided to use this timeout also for the HTTP eyeballing - with a slight
343 The `happy-eyeballs-timeout-ms` value is the **hard** timeout, meaning after
345 or HTTP/1.1. At half of that value - currently - is the **soft** timeout. The
360 The whole transfer only fails, when **both** QUIC and TLS+TCP fail to
365 those until one succeeds - just as with all other protocols. If those IP
381 ones. You can easily create huge local files like `truncate -s=8G 8GB` - they
387 localhost/8GB -o dev/null`
389 In this description we setup and run an HTTP/3 reverse-proxy in front of the
405 autoreconf -fi
406-quictls/lib/pkgconfig:/home/daniel/build-nghttp3/lib/pkgconfig:/home/daniel/build-ngtcp2/lib/pkgc…
414 $HOME/bin/nghttpx $CERT $CERT --backend=localhost,80 \
415 --frontend="localhost,9443;quic"
435 You can change the hard-coded response to something more useful by replacing `respond`