Searched refs:alpnlen (Results 1 – 6 of 6) sorted by relevance
/third_party/nghttp2/examples/ |
D | libevent-client.c | 504 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()
|
D | libevent-server.c | 689 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/ |
D | tutorial-client.rst | 151 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) {
|
D | tutorial-server.rst | 209 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/ |
D | ngtcp2.c | 347 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/ |
D | ssl_cli.c | 658 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()
|