mirror of
https://github.com/curl/curl.git
synced 2026-08-26 11:33:34 +03:00
alt-svc: skip expired entries read from file
Extend test 1654 to verify Closes #21187
This commit is contained in:
parent
4478a10f0d
commit
11609c3d45
2 changed files with 36 additions and 31 deletions
|
|
@ -25,10 +25,11 @@ alt-svc
|
|||
</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 "20121231 00:00:01" 0 0
|
||||
%TABh3 example.com 443 h3 shiny.example.com 8443 "20131231 00:00: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
|
||||
|
|
@ -40,8 +41,8 @@ rubbish
|
|||
# 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 "20121231 00:00:01" 0 0
|
||||
h3 example.com 443 h3 shiny.example.com 8443 "20131231 00:00: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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue