net/http.Transport.TLSClientConfig (field)
16 uses
net/http (current package)
h2_bundle.go#L7536: if t1.TLSClientConfig == nil {
h2_bundle.go#L7537: t1.TLSClientConfig = new(tls.Config)
h2_bundle.go#L7539: if !http2strSliceContains(t1.TLSClientConfig.NextProtos, "h2") {
h2_bundle.go#L7540: t1.TLSClientConfig.NextProtos = append([]string{"h2"}, t1.TLSClientConfig.NextProtos...)
h2_bundle.go#L7542: if !http2strSliceContains(t1.TLSClientConfig.NextProtos, "http/1.1") {
h2_bundle.go#L7543: t1.TLSClientConfig.NextProtos = append(t1.TLSClientConfig.NextProtos, "http/1.1")
transport.go#L182: TLSClientConfig *tls.Config
transport.go#L362: if t.TLSClientConfig != nil {
transport.go#L363: t2.TLSClientConfig = t.TLSClientConfig.Clone()
transport.go#L461: t.TLSClientConfig.NextProtos = adjustNextProtos(t.TLSClientConfig.NextProtos, protocols)
transport.go#L477: case !t.ForceAttemptHTTP2 && (t.TLSClientConfig != nil || t.Dial != nil || t.DialContext != nil || t.hasCustomTLSDialer()):
transport.go#L1716: cfg := cloneTLSConfig(pconn.t.TLSClientConfig)
![]() |
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. |