Searched refs:NextProtoTLS (Results 1 – 3 of 3) sorted by relevance
65 NextProtoTLS = "h2" const
476 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)
257 if p == NextProtoTLS {263 s.TLSConfig.NextProtos = append(s.TLSConfig.NextProtos, NextProtoTLS)278 s.TLSNextProto[NextProtoTLS] = protoHandler