]> granicus.if.org Git - curl/commitdiff
HTTP3: merged and simplified the two 'running' sections
authorDaniel Stenberg <daniel@haxx.se>
Thu, 26 Sep 2019 12:17:09 +0000 (14:17 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 26 Sep 2019 12:17:09 +0000 (14:17 +0200)
docs/HTTP3.md

index 06783c007684e6b8248a9e4aeadd119c88e43158..fc75c7e680ffae9e903221c00057d61f98b09cda 100644 (file)
@@ -68,21 +68,6 @@ Build curl
      % LDFLAGS="-Wl,-rpath,<somewhere1>/lib" ./configure --with-ssl=<somewhere1> --with-nghttp3=<somewhere2> --with-ngtcp2=<somewhere3>
      % 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/)