Home
last modified time | relevance | path

Searched refs:alpn_proto_len (Results 1 - 1 of 1) sorted by relevance

/third_party/node/src/crypto/
H A Dcrypto_tls.cc2031 unsigned int alpn_proto_len; in GetALPNNegotiatedProto() local
2033 SSL_get0_alpn_selected(w->ssl_.get(), &alpn_proto, &alpn_proto_len); in GetALPNNegotiatedProto()
2036 if (alpn_proto_len == 0) { in GetALPNNegotiatedProto()
2038 } else if (alpn_proto_len == sizeof("h2") - 1 && in GetALPNNegotiatedProto()
2041 } else if (alpn_proto_len == sizeof("http/1.1") - 1 && in GetALPNNegotiatedProto()
2045 result = OneByteString(env->isolate(), alpn_proto, alpn_proto_len); in GetALPNNegotiatedProto()

Completed in 4 milliseconds