summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-07-30 00:42:57 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-07-30 00:42:57 (EDT)
commit0e03556bedccc891bb257eec2187a4b1834dd97d (patch)
treee67a782014b1fe918611df68c6a62f3bd8b98871
parent6f02c66931d16fb34382b0f8db2053875f0d233f (diff)
tests/badssl.sh: Upgrade to HTTP/1.1
-rwxr-xr-xtests/badssl.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/badssl.sh b/tests/badssl.sh
index 7a82656..e878460 100755
--- a/tests/badssl.sh
+++ b/tests/badssl.sh
@@ -33,7 +33,9 @@ do_test()
-connect "${host}.badssl.com:${port}" \
-servername "${host}.badssl.com" \
<<-EOF
- GET / HTTP/1.0
+ GET / HTTP/1.1
+ Host: ${host}.badssl.com:${port}
+ Connection: close
EOF
then