diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-12-13 09:24:08 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-12-13 09:26:43 +0100 |
commit | 536f5f442e779b29ff2f28cd26a847058cdd6ed1 (patch) | |
tree | 9007278460e6f0a64a5c72eb4dd9b55bd8b24e54 /src/tool_setopt.c | |
parent | 4bcc532de5b639ace6f96f0a30524a08861843b1 (diff) | |
download | curl-536f5f442e779b29ff2f28cd26a847058cdd6ed1.tar.gz |
curl: use 2TLS by default
Make this the default for the curl tool (if built with HTTP/2 powers
enabled) unless a specific HTTP version is requested on the command
line.
This should allow more users to get HTTP/2 powers without having to
change anything.
Diffstat (limited to 'src/tool_setopt.c')
-rw-r--r-- | src/tool_setopt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tool_setopt.c b/src/tool_setopt.c index e11f527ac..ff8d40719 100644 --- a/src/tool_setopt.c +++ b/src/tool_setopt.c @@ -70,6 +70,8 @@ const NameValue setopt_nv_CURL_HTTP_VERSION[] = { NV(CURL_HTTP_VERSION_NONE), NV(CURL_HTTP_VERSION_1_0), NV(CURL_HTTP_VERSION_1_1), + NV(CURL_HTTP_VERSION_2_0), + NV(CURL_HTTP_VERSION_2TLS), NVEND, }; |