crypto/tls.ConnectionState.NegotiatedProtocol (field)
7 uses
crypto/tls (current package)
common.go#L269: NegotiatedProtocol string
conn.go#L1620: state.NegotiatedProtocol = c.clientProtocol
net/http
h2_bundle.go#L8056: if p := state.NegotiatedProtocol; p != http2NextProtoTLS {
server.go#L1953: if proto := c.tlsState.NegotiatedProtocol; validNextProto(proto) {
transport.go#L1953: if isClientConn && (unencryptedHTTP2 || (pconn.tlsState != nil && pconn.tlsState.NegotiatedProtocol == "h2")) {
transport.go#L1980: if s := pconn.tlsState; s != nil && s.NegotiatedProtocolIsMutual && s.NegotiatedProtocol != "" {
transport.go#L1981: if next, ok := t.TLSNextProto[s.NegotiatedProtocol]; ok {
![]() |
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. |