Searched refs:tlsConfig (Results 1 – 2 of 2) sorted by relevance
79 tlsConfig *tls.Config member234 var tlsConfig *tls.Config235 if opts.tlsConfig == nil {236 tlsConfig = new(tls.Config)238 tlsConfig = opts.tlsConfig.Clone()240 tlsConfig.InsecureSkipVerify = true242 tlsConfig.NextProtos = []string{"http/1.1"}244 tlsConfig.NextProtos = []string{"h2"}246 tlsConn := tls.Client(conn, tlsConfig)
949 tlsConfig: &tls.Config{