crypto/tls.Config.NextProtos (field)
27 uses
crypto/tls (current package)
common.go#L643: NextProtos []string
common.go#L844: NextProtos: c.NextProtos,
handshake_client.go#L49: for _, proto := range config.NextProtos {
handshake_client.go#L84: alpnProtocols: config.NextProtos,
handshake_server.go#L224: selectedProto, err := negotiateALPN(c.config.NextProtos, hs.clientHello.alpnProtocols, false)
handshake_server_tls13.go#L235: selectedProto, err := negotiateALPN(c.config.NextProtos, hs.clientHello.alpnProtocols, c.quic != nil)
net/http
h2_bundle.go#L4107: if !http2strSliceContains(s.TLSConfig.NextProtos, http2NextProtoTLS) {
h2_bundle.go#L4108: s.TLSConfig.NextProtos = append(s.TLSConfig.NextProtos, http2NextProtoTLS)
h2_bundle.go#L4110: if !http2strSliceContains(s.TLSConfig.NextProtos, "http/1.1") {
h2_bundle.go#L4111: s.TLSConfig.NextProtos = append(s.TLSConfig.NextProtos, "http/1.1")
h2_bundle.go#L7330: if !http2strSliceContains(t1.TLSClientConfig.NextProtos, "h2") {
h2_bundle.go#L7331: t1.TLSClientConfig.NextProtos = append([]string{"h2"}, t1.TLSClientConfig.NextProtos...)
h2_bundle.go#L7333: if !http2strSliceContains(t1.TLSClientConfig.NextProtos, "http/1.1") {
h2_bundle.go#L7334: t1.TLSClientConfig.NextProtos = append(t1.TLSClientConfig.NextProtos, "http/1.1")
h2_bundle.go#L7762: if !http2strSliceContains(cfg.NextProtos, http2NextProtoTLS) {
h2_bundle.go#L7763: cfg.NextProtos = append([]string{http2NextProtoTLS}, cfg.NextProtos...)
server.go#L3009: return strSliceContains(srv.TLSConfig.NextProtos, http2NextProtoTLS)
server.go#L3111: if !strSliceContains(config.NextProtos, "http/1.1") {
server.go#L3112: config.NextProtos = append(config.NextProtos, "http/1.1")
transport.go#L1540: cfg.NextProtos = nil
|
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. |