diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-09-05 14:35:57 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-09-05 14:36:19 +0200 |
commit | 25fd1057c9c86e32d43fce147e80f47f6b385c84 (patch) | |
tree | e6e4aafa0bc6981f961cc4421cb60ab7a908264f /docs/libcurl | |
parent | d7c4213bd0cfd16054fa75a887d3e1a9a796cb53 (diff) | |
download | curl-25fd1057c9c86e32d43fce147e80f47f6b385c84.tar.gz |
url: default to CURL_HTTP_VERSION_2TLS if built h2-enabled
Closes #2709
Diffstat (limited to 'docs/libcurl')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_HTTP_VERSION.3 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/libcurl/opts/CURLOPT_HTTP_VERSION.3 b/docs/libcurl/opts/CURLOPT_HTTP_VERSION.3 index 232ed1cb9..060db7578 100644 --- a/docs/libcurl/opts/CURLOPT_HTTP_VERSION.3 +++ b/docs/libcurl/opts/CURLOPT_HTTP_VERSION.3 @@ -5,7 +5,7 @@ .\" * | (__| |_| | _ <| |___ .\" * \___|\___/|_| \_\_____| .\" * -.\" * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al. +.\" * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al. .\" * .\" * This software is licensed as described in the file COPYING, which .\" * you should have received as part of this distribution. The terms @@ -60,7 +60,9 @@ prior knowledge that the server supports HTTP/2 straight away. HTTPS requests will still do HTTP/2 the standard way with negotiated protocol version in the TLS handshake. (Added in 7.49.0) .SH DEFAULT -CURL_HTTP_VERSION_NONE +Since curl 7.62.0: CURL_HTTP_VERSION_2TLS + +Before that: CURL_HTTP_VERSION_1_1 .SH PROTOCOLS HTTP .SH EXAMPLE |