altsvc: accept ma/persist per alternative entry

The 'ma' and 'persist' keywords should be considered per list entry, not
once per header.

Expand test 1654 to verify such headers

Reported-by: Hunt Darlener
Closes #20160
This commit is contained in:
Daniel Stenberg 2026-01-01 17:46:04 +01:00
parent 003dddae2b
commit 03c9215e62
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 50 additions and 40 deletions

View file

@ -48,6 +48,8 @@ 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>