alt-svc: more liberal ALPN name parsing

Allow pretty much anything to be part of the ALPN identifier. In
particular minus, which is used for "h3-20" (in-progress HTTP/3
versions) etc.

Updated test 356.
Closes #4182
This commit is contained in:
Daniel Stenberg 2019-08-02 13:46:49 +02:00
parent decefd5778
commit 1132f43012
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ Content-Length: 6
Connection: close
Content-Type: text/html
Funny-head: yesyes
Alt-Svc: h1="nowhere.foo:81"
Alt-Svc: h1="nowhere.foo:81", un-kno22!wn=":82"
-foo-
</data>