Home
last modified time | relevance | path

Searched refs:alpnlen (Results 1 – 6 of 6) sorted by relevance

/third_party/nghttp2/examples/
Dlibevent-client.c504 unsigned int alpnlen = 0; in eventcb() local
512 SSL_get0_next_proto_negotiated(ssl, &alpn, &alpnlen); in eventcb()
516 SSL_get0_alpn_selected(ssl, &alpn, &alpnlen); in eventcb()
520 if (alpn == NULL || alpnlen != 2 || memcmp("h2", alpn, 2) != 0) { in eventcb()
Dlibevent-server.c689 unsigned int alpnlen = 0; in eventcb() local
698 SSL_get0_next_proto_negotiated(ssl, &alpn, &alpnlen); in eventcb()
702 SSL_get0_alpn_selected(ssl, &alpn, &alpnlen); in eventcb()
706 if (alpn == NULL || alpnlen != 2 || memcmp("h2", alpn, 2) != 0) { in eventcb()
/third_party/nghttp2/doc/sources/
Dtutorial-client.rst151 unsigned int alpnlen = 0;
158 SSL_get0_next_proto_negotiated(ssl, &alpn, &alpnlen);
161 SSL_get0_alpn_selected(ssl, &alpn, &alpnlen);
165 if (alpn == NULL || alpnlen != 2 || memcmp("h2", alpn, 2) != 0) {
Dtutorial-server.rst209 unsigned int alpnlen = 0;
216 SSL_get0_next_proto_negotiated(ssl, &alpn, &alpnlen);
219 SSL_get0_alpn_selected(ssl, &alpn, &alpnlen);
223 if (alpn == NULL || alpnlen != 2 || memcmp("h2", alpn, 2) != 0) {
/third_party/curl/lib/vquic/
Dngtcp2.c347 size_t alpnlen = 0; in quic_init_ssl() local
358 alpnlen = sizeof(H3_ALPN_H3_29) - 1; in quic_init_ssl()
360 SSL_set_alpn_protos(qs->ssl, alpn, (int)alpnlen); in quic_init_ssl()
/third_party/mbedtls/library/
Dssl_cli.c658 size_t alpnlen = 0; in ssl_write_alpn_ext() local
669 alpnlen += strlen( *cur ) + 1; in ssl_write_alpn_ext()
671 MBEDTLS_SSL_CHK_BUF_PTR( p, end, 6 + alpnlen ); in ssl_write_alpn_ext()