crypto/tls.Config.ServerName (field)
15 uses
crypto/tls (current package)
common.go#L649: ServerName string
common.go#L845: ServerName: c.ServerName,
handshake_client.go#L44: if len(config.ServerName) == 0 && !config.InsecureSkipVerify {
handshake_client.go#L80: serverName: hostnameInSNI(config.ServerName),
handshake_client.go#L338: if err := session.peerCertificates[0].VerifyHostname(c.config.ServerName); err != nil {
handshake_client.go#L985: DNSName: c.config.ServerName,
handshake_client.go#L1113: if len(c.config.ServerName) > 0 {
handshake_client.go#L1114: return c.config.ServerName
tls.go#L149: if config.ServerName == "" {
tls.go#L152: c.ServerName = hostname
net/http
h2_bundle.go#L7765: if cfg.ServerName == "" {
h2_bundle.go#L7766: cfg.ServerName = host
transport.go#L1536: if cfg.ServerName == "" {
transport.go#L1537: cfg.ServerName = name
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |