2019-03-03 05:17:52 -05:00
|
|
|
<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>
|
2021-03-12 11:38:26 -05:00
|
|
|
log/%TESTNUMBER
|
2019-03-03 05:17:52 -05:00
|
|
|
</command>
|
2021-03-12 11:38:26 -05:00
|
|
|
<file name="log/%TESTNUMBER" mode="text">
|
2019-03-03 05:17:52 -05:00
|
|
|
h2 example.com 443 h3 shiny.example.com 8443 "20191231 00:00:00" 0 1
|
|
|
|
# a comment
|
2019-08-07 14:10:27 -04:00
|
|
|
h2 foo.example.com 443 h3 shiny.example.com 8443 "20291231 23:30:00" 0 1
|
2019-03-03 05:17:52 -05:00
|
|
|
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>
|
2021-03-12 11:38:26 -05:00
|
|
|
<file name="log/%TESTNUMBER-out" mode="text">
|
2020-11-04 08:02:01 -05:00
|
|
|
# Your alt-svc cache. https://curl.se/docs/alt-svc.html
|
2019-03-03 05:17:52 -05:00
|
|
|
# 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
|
2019-08-07 14:10:27 -04:00
|
|
|
h2 foo.example.com 443 h3 shiny.example.com 8443 "20291231 23:30:00" 0 1
|
2019-03-03 05:17:52 -05:00
|
|
|
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
|
2019-08-07 14:10:27 -04:00
|
|
|
h2 example.org 80 h2 example.com 443 "20190124 22:36:21" 0 0
|
2019-09-30 04:29:46 -04:00
|
|
|
h2 example.net 80 h2 example.net 443 "20190124 22:37:21" 0 0
|
2019-03-24 10:19:50 -04:00
|
|
|
</file>
|
2019-03-03 05:17:52 -05:00
|
|
|
</verify>
|
|
|
|
</testcase>
|