Home
last modified time | relevance | path

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

/curl/lib/vtls/
H A Dvtls.c160 static const struct alpn_spec *alpn_get_spec(int httpwant, bool use_alpn) in alpn_get_spec() argument
165 if(httpwant == CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE) in alpn_get_spec()
167 if(httpwant >= CURL_HTTP_VERSION_2) in alpn_get_spec()
170 (void)httpwant; in alpn_get_spec()
1975 ctx = cf_ctx_new(data, alpn_get_spec(data->state.httpwant, in cf_ssl_create()
2026 int httpwant = CURL_HTTP_VERSION_1_1; in cf_ssl_proxy_create() local
2031 httpwant = CURL_HTTP_VERSION_2; in cf_ssl_proxy_create()
2035 ctx = cf_ctx_new(data, alpn_get_spec(httpwant, use_alpn)); in cf_ssl_proxy_create()
/curl/lib/
H A Dcf-https-connect.c600 if(data->state.httpwant == CURL_HTTP_VERSION_3ONLY) { in Curl_cf_https_setup()
607 else if(data->state.httpwant >= CURL_HTTP_VERSION_3) { in Curl_cf_https_setup()
H A Durl.c484 set->httpwant = CURL_HTTP_VERSION_2TLS in Curl_init_userdefined()
486 set->httpwant = CURL_HTTP_VERSION_1_1 in Curl_init_userdefined()
667 (data->state.httpwant >= CURL_HTTP_VERSION_2)) in xfer_may_multiplex()
1005 (data->state.httpwant == CURL_HTTP_VERSION_2_0) && in url_match_conn()
1040 (data->state.httpwant != CURL_HTTP_VERSION_2TLS)) { in url_match_conn()
1042 (data->state.httpwant < CURL_HTTP_VERSION_2_0)) { in url_match_conn()
1048 (data->state.httpwant < CURL_HTTP_VERSION_3)) { in url_match_conn()
3075 switch(data->state.httpwant) {
H A Dtransfer.c591 data->state.httpwant = data->set.httpwant; in Curl_pretransfer()
H A Durldata.h1351 unsigned char httpwant; /* when non-zero, a specific HTTP version requested member
1653 unsigned char httpwant; /* when non-zero, a specific HTTP version requested member
H A Dhttp.c174 if(data->state.httpwant == CURL_HTTP_VERSION_3ONLY) { in Curl_http_setup_conn()
517 data->state.httpwant = CURL_HTTP_VERSION_1_1; in Curl_http_auth_act()
1210 if((data->state.httpwant == CURL_HTTP_VERSION_1_0) && in Curl_use_http_1_1plus()
1213 return ((data->state.httpwant == CURL_HTTP_VERSION_NONE) || in Curl_use_http_1_1plus()
1214 (data->state.httpwant >= CURL_HTTP_VERSION_1_1)); in Curl_use_http_1_1plus()
2688 (data->state.httpwant == CURL_HTTP_VERSION_2)) { in Curl_http()
H A Dc-hyper.c285 data->state.httpwant = CURL_HTTP_VERSION_1_0; in status_line()
H A Dws.c1281 data->state.httpwant = CURL_HTTP_VERSION_1_1; in ws_setup_conn()
H A Dsetopt.c633 data->set.httpwant = (unsigned char)arg; in setopt_long()
H A Dhttp2.c2841 data->state.httpwant == CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE) { in Curl_http2_may_switch()
H A Dmulti.c2185 data->state.httpwant = CURL_HTTP_VERSION_1_1;

Completed in 102 milliseconds