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