From 026840e35c7359c23741afe633bd3ab4b121c4ed Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 7 Aug 2019 14:17:48 +0200 Subject: CURLOPT_HTTP_VERSION: seting this to 3 forces HTTP/3 use directly Even though it cannot fall-back to a lower HTTP version automatically. The safer way to upgrade remains via CURLOPT_ALTSVC. CURLOPT_H3 no longer has any bits that do anything and might be removed before we remove the experimental label. Updated the curl tool accordingly to use "--http3". Closes #4197 --- docs/HTTP3.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'docs/HTTP3.md') diff --git a/docs/HTTP3.md b/docs/HTTP3.md index aa1303397..092d4d3e4 100644 --- a/docs/HTTP3.md +++ b/docs/HTTP3.md @@ -45,7 +45,7 @@ you'll just get ld.so linker errors. ## Invoke from command line - curl --http3-direct https://nghttp2.org:8443/ + curl --http3 https://nghttp2.org:8443/ # quiche version @@ -79,7 +79,7 @@ Clone and build curl: Make an HTTP/3 request. - % src/curl --http3-direct https://cloudflare-quic.com/ - % src/curl --http3-direct https://facebook.com/ - % src/curl --http3-direct https://quic.aiortc.org:4433/ - % src/curl --http3-direct https://quic.rocks:4433/ + % src/curl --http3 https://cloudflare-quic.com/ + % src/curl --http3 https://facebook.com/ + % src/curl --http3 https://quic.aiortc.org:4433/ + % src/curl --http3 https://quic.rocks:4433/ -- cgit v1.2.3