Home
last modified time | relevance | path

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

/third_party/curl/lib/vtls/
H A Dvtls.c144 static const struct alpn_spec *alpn_get_spec(int httpwant, bool use_alpn) in alpn_get_spec() argument
149 if(httpwant >= CURL_HTTP_VERSION_2) in alpn_get_spec()
152 (void)httpwant; in alpn_get_spec()
1893 ctx = cf_ctx_new(data, alpn_get_spec(data->state.httpwant, in cf_ssl_create()
1944 int httpwant = CURL_HTTP_VERSION_1_1; in cf_ssl_proxy_create() local
1949 httpwant = CURL_HTTP_VERSION_2; in cf_ssl_proxy_create()
1953 ctx = cf_ctx_new(data, alpn_get_spec(httpwant, use_alpn)); in cf_ssl_proxy_create()
/third_party/curl/lib/
H A Dcf-https-connect.c511 if(data->state.httpwant == CURL_HTTP_VERSION_3ONLY) { in Curl_cf_https_setup()
518 else if(data->state.httpwant >= CURL_HTTP_VERSION_3) { in Curl_cf_https_setup()
H A Durl.c488 set->httpwant = CURL_HTTP_VERSION_2TLS in Curl_init_userdefined()
490 set->httpwant = CURL_HTTP_VERSION_1_1 in Curl_init_userdefined()
699 (handle->state.httpwant >= CURL_HTTP_VERSION_2)) in IsMultiplexingPossible()
948 bool h2upgrade = (data->state.httpwant == CURL_HTTP_VERSION_2_0) && in ConnectionExists()
1163 (data->state.httpwant < CURL_HTTP_VERSION_2_0)) in ConnectionExists()
1165 (data->state.httpwant < CURL_HTTP_VERSION_3)))) in ConnectionExists()
H A Dhttp.c177 if(data->state.httpwant == CURL_HTTP_VERSION_3ONLY) { in Curl_http_setup_conn()
589 data->state.httpwant = CURL_HTTP_VERSION_1_1; in Curl_http_auth_act()
1594 if((data->state.httpwant == CURL_HTTP_VERSION_1_0) && in Curl_use_http_1_1plus()
1597 return ((data->state.httpwant == CURL_HTTP_VERSION_NONE) || in Curl_use_http_1_1plus()
1598 (data->state.httpwant >= CURL_HTTP_VERSION_1_1)); in Curl_use_http_1_1plus()
3291 (data->state.httpwant == CURL_HTTP_VERSION_2)) { in Curl_http()
H A Dtransfer.c1101 data->state.httpwant = data->set.httpwant; in Curl_pretransfer()
H A Durldata.h1466 unsigned char httpwant; /* when non-zero, a specific HTTP version requested member
1734 unsigned char httpwant; /* when non-zero, a specific HTTP version requested member
H A Dws.c1146 data->state.httpwant = CURL_HTTP_VERSION_1_1; in ws_setup_conn()
H A Dc-hyper.c285 data->state.httpwant = CURL_HTTP_VERSION_1_0; in status_line()
H A Dsetopt.c928 data->set.httpwant = (unsigned char)arg; in Curl_vsetopt()
H A Dhttp2.c2690 data->state.httpwant == CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE) { in Curl_http2_may_switch()
H A Dmulti.c2510 data->state.httpwant = CURL_HTTP_VERSION_1_1;

Completed in 32 milliseconds