aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test1420
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-12-13 09:24:08 +0100
committerDaniel Stenberg <daniel@haxx.se>2015-12-13 09:26:43 +0100
commit536f5f442e779b29ff2f28cd26a847058cdd6ed1 (patch)
tree9007278460e6f0a64a5c72eb4dd9b55bd8b24e54 /tests/data/test1420
parent4bcc532de5b639ace6f96f0a30524a08861843b1 (diff)
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 'tests/data/test1420')
-rw-r--r--tests/data/test14205
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/data/test1420 b/tests/data/test1420
index 79ca675a7..8894045d4 100644
--- a/tests/data/test1420
+++ b/tests/data/test1420
@@ -99,10 +99,11 @@ int main(int argc, char *argv[])
<stripfile>
# curl's default user-agent varies with version, libraries etc.
s/(USERAGENT, \")[^\"]+/${1}stripped/
-# CURLOPT_SSL_VERIFYPEER and SSH_KNOWNHOSTS vary with configurations - just
-# ignore them
+# CURLOPT_SSL_VERIFYPEER, SSH_KNOWNHOSTS and HTTP_VERSION vary with
+# configurations - just ignore them
$_ = '' if /CURLOPT_SSL_VERIFYPEER/
$_ = '' if /CURLOPT_SSH_KNOWNHOSTS/
+$_ = '' if /CURLOPT_HTTP_VERSION/
</stripfile>
</verify>
</testcase>