summaryrefslogtreecommitdiff
path: root/tests/data/test1403
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/test1403
parent4bcc532de5b639ace6f96f0a30524a08861843b1 (diff)
downloadgnurl-536f5f442e779b29ff2f28cd26a847058cdd6ed1.tar.gz
gnurl-536f5f442e779b29ff2f28cd26a847058cdd6ed1.tar.bz2
gnurl-536f5f442e779b29ff2f28cd26a847058cdd6ed1.zip
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/test1403')
-rw-r--r--tests/data/test14035
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/data/test1403 b/tests/data/test1403
index 3ec7dd032..85188d8f8 100644
--- a/tests/data/test1403
+++ b/tests/data/test1403
@@ -48,10 +48,11 @@ Accept: */*
<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>
<file name="log/test1403.c" mode="text">
/********* Sample code generated by the curl command line tool **********