crypto/tls.Config.ServerName (field)
17 uses
crypto/tls (current package)
common.go#L696: ServerName string
common.go#L1015: ServerName: c.ServerName,
handshake_client.go#L45: if len(config.ServerName) == 0 && !config.InsecureSkipVerify {
handshake_client.go#L77: serverName: hostnameInSNI(config.ServerName),
handshake_client.go#L410: if err := session.peerCertificates[0].VerifyHostname(c.config.ServerName); err != nil {
handshake_client.go#L1151: DNSName: c.config.ServerName,
handshake_client.go#L1283: if len(c.config.ServerName) > 0 {
handshake_client.go#L1284: return c.config.ServerName
handshake_client_tls13.go#L101: c.serverName = c.config.ServerName
handshake_client_tls13.go#L276: c.serverName = c.config.ServerName
tls.go#L162: if config.ServerName == "" {
tls.go#L165: c.ServerName = hostname
net/http
h2_bundle.go#L8038: if cfg.ServerName == "" {
h2_bundle.go#L8039: cfg.ServerName = host
transport.go#L1717: if cfg.ServerName == "" {
transport.go#L1718: cfg.ServerName = name
![]() |
The pages are generated with Golds v0.8.4. (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. |