From 536f5f442e779b29ff2f28cd26a847058cdd6ed1 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 13 Dec 2015 09:24:08 +0100 Subject: 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. --- tests/data/test1404 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/data/test1404') diff --git a/tests/data/test1404 b/tests/data/test1404 index 441569752..0f59c496c 100644 --- a/tests/data/test1404 +++ b/tests/data/test1404 @@ -83,10 +83,11 @@ dummy data # 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/ /********* Sample code generated by the curl command line tool ********** -- cgit v1.2.3