mirror of
https://github.com/curl/curl.git
synced 2026-07-27 15:58:56 +03:00
altsvc: accept and parse IPv6 addresses in response headers
Store numerical IPv6 addresses in the alt-svc file with the brackets present. Verify with test 437 and 438 Fixes #11737 Reported-by: oliverpool on github Closes #11743
This commit is contained in:
parent
a06de2b772
commit
25ca79df1e
5 changed files with 231 additions and 14 deletions
|
|
@ -33,6 +33,9 @@ space separated fields.
|
|||
8. Boolean (1 or 0) if "persist" was set for this entry
|
||||
9. Integer priority value (not currently used)
|
||||
|
||||
If the host name is an IPv6 numerical address, it is stored with brackets such
|
||||
as `[::1]`.
|
||||
|
||||
# TODO
|
||||
|
||||
- handle multiple response headers, when one of them says `clear` (should
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue