- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for hostnameInSNI (0.24 sec)
-
src/crypto/tls/handshake_client.go
} if c.conn != nil { return c.conn.RemoteAddr().String() } return "" } // hostnameInSNI converts name into an appropriate hostname for SNI. // Literal IP addresses and absolute FQDNs are not permitted as SNI values. // See RFC 6066, Section 3. func hostnameInSNI(name string) string { host := name if len(host) > 0 && host[0] == '[' && host[len(host)-1] == ']' {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 38.6K bytes - Viewed (0)