/
githubmirror
/
curl
Обзор
Документация
Войти
/
githubmirror
/
curl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/data/test1654
56 строк
2 KB
Daniel Stenberg
alt-svc: skip expired entries read from file
01 апр 2026, 11:56
Не верифицирован
01 апр 2026, 11:56
11609c3
Код
Авторство
О чём код?
<?xml version="1.0" encoding="US-ASCII"?> <testcase> <info> <keywords> unittest Alt-Svc </keywords> </info> <client> <features> unittest alt-svc </features> # This date is exactly "20190124 22:34:21" UTC <setenv> CURL_TIME=1548369261 </setenv> <name> alt-svc </name> <command> %LOGDIR/%TESTNUMBER </command> <file name="%LOGDIR/%TESTNUMBER" mode="text"> h2 example.com 443 h3 shiny.example.com 8443 "20191231 00:00:00" 0 0 h2 expired.com 443 h3 shiny.example.com 8443 "20190122 00:00:00" 0 0 # a comment h2 foo.example.com 443 h3 shiny.example.com 8443 "20291231 23:30:00" 0 0 h1 example.com 443 h3 shiny.example.com 8443 "20221231 00:00:01" 0 0 %TABh3 example.com 443 h3 shiny.example.com 8443 "20231231 00:00:00" 0 0 # also a comment bad example.com 443 h3 shiny.example.com 8443 "20191231 00:00:00" 0 0 rubbish </file> </client> <verify> <file name="%LOGDIR/%TESTNUMBER-out" mode="text"> # Your alt-svc cache. https://curl.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 0 h2 foo.example.com 443 h3 shiny.example.com 8443 "20291231 23:30:00" 0 0 h1 example.com 443 h3 shiny.example.com 8443 "20221231 00:00:01" 0 0 h3 example.com 443 h3 shiny.example.com 8443 "20231231 00:00:00" 0 0 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 h2 example.org 80 h2 example.com 443 "20190124 22:36:21" 0 0 h2 example.net 80 h2 example.net 443 "20190124 22:37:21" 0 0 h2 test.se 443 h2 test2.se 443 "20190124 22:37:21" 0 0 h2 test.se 443 h2 test3.se 443 "20190124 22:36:21" 0 0 </file> </verify> </testcase>