mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
Revert "crypto/tls: don't send IP literals as SNI values."
This reverts commit a4dcc69201.
Change-Id: Ib55fd349a604d6b5220dac20327501e1ce46b962
Reviewed-on: https://go-review.googlesource.com/16770
Reviewed-by: Adam Langley <agl@golang.org>
This commit is contained in:
parent
a4dcc69201
commit
b46df69541
3 changed files with 2 additions and 37 deletions
|
|
@ -286,8 +286,7 @@ type Config struct {
|
|||
|
||||
// ServerName is used to verify the hostname on the returned
|
||||
// certificates unless InsecureSkipVerify is given. It is also included
|
||||
// in the client's handshake to support virtual hosting unless it is
|
||||
// an IP address.
|
||||
// in the client's handshake to support virtual hosting.
|
||||
ServerName string
|
||||
|
||||
// ClientAuth determines the server's policy for
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue