summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hambüchen <mail@nh2.me>2019-06-25 13:39:00 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-06-25 17:40:21 +0200
commit8dd041bf0a422eda773702eb9d5c004544a4870e (patch)
treed561cd512fbe17d8533283a96fcaf971392655e4
parent8c34a4dc49c3d906f100a218b6d6c3afc485d07c (diff)
downloadcurl-8dd041bf0a422eda773702eb9d5c004544a4870e.tar.gz
docs: fix string suggesting HTTP/2 is not the default
Commit 25fd1057c9c86e3 made HTTP2 the default, and further down in the man page that new default is mentioned, but the section at the top contradicted it until now. Also remove claim that setting the HTTP version is not sensible. Closes #4075
-rw-r--r--docs/libcurl/opts/CURLOPT_HTTP_VERSION.34
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/libcurl/opts/CURLOPT_HTTP_VERSION.3 b/docs/libcurl/opts/CURLOPT_HTTP_VERSION.3
index 7b7a08144..741dfaa6c 100644
--- a/docs/libcurl/opts/CURLOPT_HTTP_VERSION.3
+++ b/docs/libcurl/opts/CURLOPT_HTTP_VERSION.3
@@ -29,9 +29,7 @@ CURLOPT_HTTP_VERSION \- specify HTTP protocol version to use
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_HTTP_VERSION, long version);
.SH DESCRIPTION
Pass \fIversion\fP a long, set to one of the values described below. They ask
-libcurl to use the specific HTTP versions. This is not sensible to do unless
-you have a good reason. You have to set this option if you want to use
-libcurl's HTTP/2 support.
+libcurl to use the specific HTTP versions.
Note that the HTTP version is just a request. libcurl will still prioritize to
re-use an existing connection so it might then re-use a connection using a