diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-03-03 11:17:52 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-03-03 11:17:52 +0100 |
commit | e1be8254534898fccafc5d6cd04f6235f283cfbd (patch) | |
tree | d48bbbf5cb59d93e82fc14f13f1b0c7a7e5044d3 /tests/data/test1654 | |
parent | 4331a3b8fa40cc8d71b7abb36b096dccdc11e3cb (diff) | |
download | curl-e1be8254534898fccafc5d6cd04f6235f283cfbd.tar.gz |
alt-svc: the libcurl bits
Diffstat (limited to 'tests/data/test1654')
-rw-r--r-- | tests/data/test1654 | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/tests/data/test1654 b/tests/data/test1654 new file mode 100644 index 000000000..cae49d663 --- /dev/null +++ b/tests/data/test1654 @@ -0,0 +1,57 @@ +<testcase> +<info> +<keywords> +unittest +alt-svc +altsvc +</keywords> +</info> + +<client> +<server> +none +</server> +<features> +unittest +alt-svc +</features> + +# This date is exactly "20190124 22:34:21" UTC +<setenv> +CURL_TIME=1548369261 +</setenv> +<name> +alt-svc +</name> +<command> +log/1654 +</command> +<tool> +unit1654 +</tool> +<file name="log/1654" mode="text"> +h2 example.com 443 h3 shiny.example.com 8443 "20191231 00:00:00" 0 1 +# a comment +h2c example.com 443 h3 shiny.example.com 8443 "20291231 23:30:00" 0 1 + h1 example.com 443 h3 shiny.example.com 8443 "20121231 00:00:01" 0 1 + h3 example.com 443 h3 shiny.example.com 8443 "20131231 00:00:00" 0 1 + # also a comment +bad example.com 443 h3 shiny.example.com 8443 "20191231 00:00:00" 0 1 +rubbish +</file> +</client> +<verify> +<file name="log/1654-out" mode="text"> +# Your alt-svc cache. https://curl.haxx.se/docs/alt-svc.html +# This file was generated by libcurl! Edit at your own risk. +h2 example.com 443 h3 shiny.example.com 8443 "20191231 00:00:00" 0 1 +h2c example.com 443 h3 shiny.example.com 8443 "20291231 23:30:00" 0 1 +h1 example.com 443 h3 shiny.example.com 8443 "20121231 00:00:01" 0 1 +h3 example.com 443 h3 shiny.example.com 8443 "20131231 00:00:00" 0 1 +h1 example.org 8080 h2 example.com 8080 "20190125 22:34:21" 0 0 +h1 2.example.org 8080 h3 2.example.org 8080 "20190125 22:34:21" 0 0 +h1 3.example.org 8080 h2 example.com 8080 "20190125 22:34:21" 0 0 +h1 3.example.org 8080 h3 yesyes.com 8080 "20190125 22:34:21" 0 0 +h2c example.org 80 h2 example.com 443 "20190124 22:36:21" 0 0 +</verify> +</testcase> |