From 0ccdec339d3e475b24ce1a5af382ef083bf8b06f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 26 Sep 2019 14:17:09 +0200 Subject: HTTP3: merged and simplified the two 'running' sections --- docs/HTTP3.md | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/docs/HTTP3.md b/docs/HTTP3.md index 06783c007..fc75c7e68 100644 --- a/docs/HTTP3.md +++ b/docs/HTTP3.md @@ -68,21 +68,6 @@ Build curl % LDFLAGS="-Wl,-rpath,/lib" ./configure --with-ssl= --with-nghttp3= --with-ngtcp2= % make -## Running - -Make sure the custom OpenSSL library is the one used at run-time, as otherwise -you'll just get ld.so linker errors. - -## Invoke from command line - -Use HTTP/3 directly: - - curl --http3 https://nghttp2.org:8443/ - -Upgrade via Alt-Svc: - - curl --alt-svc altsvc.cache https://quic.aiortc.org/ - # quiche version ## build @@ -117,13 +102,14 @@ Clone and build curl: % ./configure LDFLAGS="-Wl,-rpath,$PWD/../quiche/target/release" --with-ssl=$PWD/../quiche/deps/boringssl/.openssl --with-quiche=$PWD/../quiche/target/release % make -## Running +## Run + +Use HTTP/3 directly: + + curl --http3 https://nghttp2.org:8443/ -Make an HTTP/3 request. +Upgrade via Alt-Svc: - % src/curl --http3 https://cloudflare-quic.com/ - % src/curl --http3 https://facebook.com/ - % src/curl --http3 https://quic.aiortc.org/ - % src/curl --http3 https://quic.rocks:4433/ + curl --alt-svc altsvc.cache https://quic.aiortc.org/ See this [list of public HTTP/3 servers](https://bagder.github.io/HTTP3-test/) -- cgit v1.2.1