Home
last modified time | relevance | path

Searched refs:httpwant (Results 1 – 10 of 10) sorted by relevance

/third_party/curl/lib/vtls/
Dvtls.c146 static const struct alpn_spec *alpn_get_spec(int httpwant, bool use_alpn) in alpn_get_spec() argument
150 if(httpwant == CURL_HTTP_VERSION_1_0) in alpn_get_spec()
153 if(httpwant >= CURL_HTTP_VERSION_2) in alpn_get_spec()
1746 ctx = cf_ctx_new(data, alpn_get_spec(data->state.httpwant, in cf_ssl_create()
1797 int httpwant = CURL_HTTP_VERSION_1_1; in cf_ssl_proxy_create() local
1802 httpwant = CURL_HTTP_VERSION_2; in cf_ssl_proxy_create()
1806 ctx = cf_ctx_new(data, alpn_get_spec(httpwant, use_alpn)); in cf_ssl_proxy_create()
/third_party/curl/lib/
Dcf-https-connect.c531 if(data->state.httpwant == CURL_HTTP_VERSION_3ONLY) { in Curl_cf_https_setup()
538 else if(data->state.httpwant >= CURL_HTTP_VERSION_3) { in Curl_cf_https_setup()
Durldata.h1451 unsigned char httpwant; /* when non-zero, a specific HTTP version requested member
1722 unsigned char httpwant; /* when non-zero, a specific HTTP version requested member
Dhttp.c239 if(data->state.httpwant == CURL_HTTP_VERSION_3ONLY) { in http_setup_conn()
253 data->state.httpwant = CURL_HTTP_VERSION_1_1; in ws_setup_conn()
669 data->state.httpwant = CURL_HTTP_VERSION_1_1; in Curl_http_auth_act()
1653 if((data->state.httpwant == CURL_HTTP_VERSION_1_0) && in Curl_use_http_1_1plus()
1656 return ((data->state.httpwant == CURL_HTTP_VERSION_NONE) || in Curl_use_http_1_1plus()
1657 (data->state.httpwant >= CURL_HTTP_VERSION_1_1)); in Curl_use_http_1_1plus()
3369 (data->state.httpwant == CURL_HTTP_VERSION_2)) { in Curl_http()
Durl.c618 set->httpwant = CURL_HTTP_VERSION_2TLS in Curl_init_userdefined()
620 set->httpwant = CURL_HTTP_VERSION_1_1 in Curl_init_userdefined()
833 (handle->state.httpwant >= CURL_HTTP_VERSION_2)) in IsMultiplexingPossible()
1082 bool h2upgrade = (data->state.httpwant == CURL_HTTP_VERSION_2_0) && in ConnectionExists()
1309 (data->state.httpwant < CURL_HTTP_VERSION_2_0)) in ConnectionExists()
1311 (data->state.httpwant < CURL_HTTP_VERSION_3)))) in ConnectionExists()
Dtransfer.c1370 data->state.httpwant = data->set.httpwant; in Curl_pretransfer()
Dc-hyper.c294 data->state.httpwant = CURL_HTTP_VERSION_1_0; in status_line()
Dsetopt.c936 data->set.httpwant = (unsigned char)arg; in Curl_vsetopt()
Dmulti.c2470 data->state.httpwant = CURL_HTTP_VERSION_1_1;
Dhttp2.c2714 data->state.httpwant == CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE) { in Curl_http2_may_switch()