Omit SNI in uTLS connections when it would contain an IP address.
commit74a0ff06f4b5d8a29c6b45dee8da703797f1da66
authorDavid Fifield <david@bamsoftware.com>
Sun, 2 Jan 2022 23:16:46 +0000 (2 16:16 -0700)
committerDavid Fifield <david@bamsoftware.com>
Mon, 3 Jan 2022 02:16:00 +0000 (2 19:16 -0700)
tree8ecf3c0267e662d6b699a5005eaf5c7c468cbb19
parentfec00a2a78b3940ef772ffc6575a755b9fab5b9d
Omit SNI in uTLS connections when it would contain an IP address.

Important for us as we are likely to connect to servers like 1.1.1.1 and
8.8.8.8.
dnstt-client/utls.go