Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tls: handle ipv6 addresses in host-header
When an http-client requests a url with the hostname specified as an IPv6 address, the Host: header will have the following format: Host: [::1]:3000 The servername in this case should be '::1'. Fixes: nodejs#14736
- Loading branch information