Home
last modified time | relevance | path

Searched refs:NextProtoTLS (Results 1 – 3 of 3) sorted by relevance

/external/syzkaller/vendor/golang.org/x/net/http2/
Dhttp2.go65 NextProtoTLS = "h2" const
Dtransport.go476 if !strSliceContains(cfg.NextProtos, NextProtoTLS) {
477 cfg.NextProtos = append([]string{NextProtoTLS}, cfg.NextProtos...)
506 if p := state.NegotiatedProtocol; p != NextProtoTLS {
507 return nil, fmt.Errorf("http2: unexpected ALPN protocol %q; want %q", p, NextProtoTLS)
Dserver.go257 if p == NextProtoTLS {
263 s.TLSConfig.NextProtos = append(s.TLSConfig.NextProtos, NextProtoTLS)
278 s.TLSNextProto[NextProtoTLS] = protoHandler