/curl/docs/cmdline-opts/ |
H A D | no-alpn.md | 4 Long: no-alpn 16 - --no-alpn $URL 19 # `--no-alpn` 25 Note that this is the negated option name documented. You can use --alpn to
|
H A D | no-npn.md | 14 - no-alpn
|
H A D | http2.md | 16 - no-alpn
|
H A D | Makefile.inc | 172 no-alpn.md \
|
/curl/lib/vquic/ |
H A D | vquic-tls.c | 201 const char *alpn, size_t alpn_len, in wssl_init_ssl() argument 214 if(alpn) in wssl_init_ssl() 215 wolfSSL_set_alpn_protos(ctx->wssl.handle, (const unsigned char *)alpn, in wssl_init_ssl() 235 const char *alpn, size_t alpn_len, in Curl_vquic_tls_init() argument 244 (const unsigned char *)alpn, alpn_len, in Curl_vquic_tls_init() 249 (const unsigned char *)alpn, alpn_len, NULL, in Curl_vquic_tls_init() 256 return wssl_init_ssl(ctx, cf, data, peer, alpn, alpn_len, ssl_user_data); in Curl_vquic_tls_init()
|
H A D | vquic-tls.h | 75 const char *alpn, size_t alpn_len,
|
H A D | curl_msh3.c | 915 cf->conn->alpn = CURL_HTTP_VERSION_3; in cf_msh3_connect()
|
H A D | curl_quiche.c | 1447 cf->conn->alpn = CURL_HTTP_VERSION_3; in cf_quiche_connect()
|
/curl/lib/vtls/ |
H A D | gtls.h | 81 const unsigned char *alpn, size_t alpn_len, 103 const char *alpn);
|
H A D | rustls.c | 651 if(connssl->alpn) { in cr_init_backend() 653 rustls_slice_bytes alpn[ALPN_ENTRIES_MAX]; in cr_init_backend() local 656 for(i = 0; i < connssl->alpn->count; ++i) { in cr_init_backend() 657 alpn[i].data = (const uint8_t *)connssl->alpn->entries[i]; in cr_init_backend() 658 alpn[i].len = strlen(connssl->alpn->entries[i]); in cr_init_backend() 660 rustls_client_config_builder_set_alpn_protocols(config_builder, alpn, in cr_init_backend() 661 connssl->alpn->count); in cr_init_backend() 662 Curl_alpn_to_proto_str(&proto, connssl->alpn); in cr_init_backend()
|
H A D | openssl.h | 67 const unsigned char *alpn, size_t alpn_len,
|
H A D | vtls_int.h | 107 const struct alpn_spec *alpn; /* ALPN to use or NULL for none */ member 248 const char *alpn,
|
H A D | gtls.c | 727 const char *alpn) in Curl_gtls_update_session_id() argument 755 connect_idsize, alpn ? alpn : "-"); in Curl_gtls_update_session_id() 758 result = Curl_ssl_set_sessionid(cf, data, peer, alpn, in Curl_gtls_update_session_id() 1053 const unsigned char *alpn, size_t alpn_len, in Curl_gtls_ctx_init() argument 1110 Curl_alpn_contains_proto(connssl->alpn, session_alpn)) { in Curl_gtls_ctx_init() 1144 if(!gtls_alpns_count && alpn && alpn_len) { in Curl_gtls_ctx_init() 1146 unsigned char *s = (unsigned char *)alpn; in Curl_gtls_ctx_init() 1191 if(connssl->alpn) { in gtls_connect_step1() 1192 result = Curl_alpn_to_proto_buf(&proto, connssl->alpn); in gtls_connect_step1() 1204 if(connssl->alpn && (connssl->state != ssl_connection_deferred)) { in gtls_connect_step1() [all …]
|
H A D | vtls.c | 457 const struct alpn_spec *alpn) in cf_ctx_new() argument 466 ctx->alpn = alpn; in cf_ctx_new() 595 *palpn = check->alpn; in Curl_ssl_getsessionid() 626 Curl_safefree(session->alpn); in Curl_ssl_kill_session() 650 const char *alpn, in Curl_ssl_set_sessionid() argument 703 clone_alpn = alpn ? strdup(alpn) : NULL; in Curl_ssl_set_sessionid() 704 if(alpn && !clone_alpn) in Curl_ssl_set_sessionid() 755 store->alpn = clone_alpn; in Curl_ssl_set_sessionid() 2274 &cf->conn->proxy_alpn : &cf->conn->alpn in Curl_alpn_set_negotiated() 2276 &cf->conn->alpn in Curl_alpn_set_negotiated()
|
H A D | bearssl.c | 628 if(connssl->alpn) { in bearssl_connect_step1() 632 for(i = 0; i < connssl->alpn->count; ++i) { in bearssl_connect_step1() 633 backend->protocols[i] = connssl->alpn->entries[i]; in bearssl_connect_step1() 636 connssl->alpn->count); in bearssl_connect_step1() 637 Curl_alpn_to_proto_str(&proto, connssl->alpn); in bearssl_connect_step1() 826 if(connssl->alpn) { in bearssl_connect_step3()
|
H A D | mbedtls.c | 926 if(connssl->alpn) { 930 for(i = 0; i < connssl->alpn->count; ++i) { 931 backend->protocols[i] = connssl->alpn->entries[i]; 940 Curl_alpn_to_proto_str(&proto, connssl->alpn); 1104 if(connssl->alpn) {
|
H A D | sectransp.c | 1096 if(connssl->alpn) { 1103 for(i = 0; i < connssl->alpn->count; ++i) { 1104 cstr = CFStringCreateWithCString(NULL, connssl->alpn->entries[i], 1116 Curl_alpn_to_proto_str(&proto, connssl->alpn); 2088 if(connssl->alpn) { 2100 cf->conn->alpn = CURL_HTTP_VERSION_2; 2106 cf->conn->alpn = CURL_HTTP_VERSION_1_1;
|
H A D | schannel.c | 913 backend->use_alpn = connssl->alpn && in schannel_connect_step1() 1019 result = Curl_alpn_to_proto_buf(&proto, connssl->alpn); in schannel_connect_step1() 1034 Curl_alpn_to_proto_str(&proto, connssl->alpn); in schannel_connect_step1() 1579 unsigned char prev_alpn = cf->conn->alpn; in schannel_connect_step3() 1584 if(prev_alpn != cf->conn->alpn && in schannel_connect_step3()
|
H A D | openssl.c | 3480 const unsigned char *alpn, size_t alpn_len, in Curl_ossl_ctx_init() argument 3677 if(alpn && alpn_len) { in Curl_ossl_ctx_init() 3679 if(SSL_CTX_set_alpn_protos(octx->ssl_ctx, alpn, (int)alpn_len)) { in Curl_ossl_ctx_init() 4020 if(connssl->alpn) { in ossl_connect_step1() 4021 result = Curl_alpn_to_proto_buf(&proto, connssl->alpn); in ossl_connect_step1() 4057 if(connssl->alpn) { in ossl_connect_step1() 4058 Curl_alpn_to_proto_str(&proto, connssl->alpn); in ossl_connect_step1() 4377 if(connssl->alpn) {
|
H A D | wolfssl.c | 1158 if(connssl->alpn) { in wolfssl_connect_step1() 1162 result = Curl_alpn_to_proto_str(&proto, connssl->alpn); in wolfssl_connect_step1() 1528 if(connssl->alpn) { in wolfssl_connect_step2()
|
/curl/lib/ |
H A D | http_proxy.c | 188 int alpn = Curl_conn_cf_is_ssl(cf->next) ? in http_proxy_cf_connect() local 192 switch(alpn) { in http_proxy_cf_connect() 198 (alpn == CURL_HTTP_VERSION_1_0) ? 0 : 1); in http_proxy_cf_connect() 215 infof(data, "CONNECT tunnel: unsupported ALPN(%d) negotiated", alpn); in http_proxy_cf_connect()
|
H A D | urldata.h | 351 char *alpn; /* APLN TLS negotiated protocol string */ member 990 unsigned char alpn; /* APLN TLS negotiated protocol, a CURL_HTTP_VERSION* member
|
H A D | cf-https-connect.c | 197 switch(cf->conn->alpn) { in baller_connected()
|
H A D | c-hyper.c | 926 if(conn->alpn == CURL_HTTP_VERSION_2) { in Curl_http()
|
/curl/docs/ |
H A D | options-in-versions | 137 --no-alpn 7.36.0
|