Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle ipv6 addresses in host-header correctly with TLS
When a url uses an ipv6-addresses as the host part, the host-header of the request will be [::1]:3000 (for ipv6 address ::1). To verify the IP address against a TLS certificate, we need to extract the IP-address correctly. Requires node with nodejs/node#14736 resolved to work.
- Loading branch information