crypto/tls.Config.ServerName (field)
17 uses
crypto/tls (current package)
common.go#L656: ServerName string
common.go#L892: ServerName: c.ServerName,
handshake_client.go#L46: if len(config.ServerName) == 0 && !config.InsecureSkipVerify {
handshake_client.go#L75: serverName: hostnameInSNI(config.ServerName),
handshake_client.go#L440: if err := session.peerCertificates[0].VerifyHostname(c.config.ServerName); err != nil {
handshake_client.go#L1120: DNSName: c.config.ServerName,
handshake_client.go#L1248: if len(c.config.ServerName) > 0 {
handshake_client.go#L1249: return c.config.ServerName
handshake_client_tls13.go#L104: c.serverName = c.config.ServerName
handshake_client_tls13.go#L281: c.serverName = c.config.ServerName
tls.go#L151: if config.ServerName == "" {
tls.go#L154: c.ServerName = hostname
net/http
h2_bundle.go#L7858: if cfg.ServerName == "" {
h2_bundle.go#L7859: cfg.ServerName = host
transport.go#L1632: if cfg.ServerName == "" {
transport.go#L1633: cfg.ServerName = name
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |