Home
last modified time | relevance | path

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

/curl/lib/vtls/
H A Dvtls.c146 static const struct alpn_spec *alpn_get_spec(int httpwant, bool use_alpn) in alpn_get_spec() argument
151 if(httpwant >= CURL_HTTP_VERSION_2) in alpn_get_spec()
154 (void)httpwant; in alpn_get_spec()
1918 ctx = cf_ctx_new(data, alpn_get_spec(data->state.httpwant, in cf_ssl_create()
1969 int httpwant = CURL_HTTP_VERSION_1_1; in cf_ssl_proxy_create() local
1974 httpwant = CURL_HTTP_VERSION_2; in cf_ssl_proxy_create()
1978 ctx = cf_ctx_new(data, alpn_get_spec(httpwant, use_alpn)); in cf_ssl_proxy_create()
/curl/lib/
H A Dcf-https-connect.c556 if(data->state.httpwant == CURL_HTTP_VERSION_3ONLY) { in Curl_cf_https_setup()
563 else if(data->state.httpwant >= CURL_HTTP_VERSION_3) { in Curl_cf_https_setup()
H A Durldata.h1352 unsigned char httpwant; /* when non-zero, a specific HTTP version requested member
1654 unsigned char httpwant; /* when non-zero, a specific HTTP version requested member
H A Durl.c485 set->httpwant = CURL_HTTP_VERSION_2TLS in Curl_init_userdefined()
487 set->httpwant = CURL_HTTP_VERSION_1_1 in Curl_init_userdefined()
700 (handle->state.httpwant >= CURL_HTTP_VERSION_2)) in IsMultiplexingPossible()
941 bool h2upgrade = (data->state.httpwant == CURL_HTTP_VERSION_2_0) && in ConnectionExists()
1156 (data->state.httpwant < CURL_HTTP_VERSION_2_0)) in ConnectionExists()
1158 (data->state.httpwant < CURL_HTTP_VERSION_3)))) in ConnectionExists()
H A Dtransfer.c625 data->state.httpwant = data->set.httpwant; in Curl_pretransfer()
H A Dhttp.c174 if(data->state.httpwant == CURL_HTTP_VERSION_3ONLY) { in Curl_http_setup_conn()
518 data->state.httpwant = CURL_HTTP_VERSION_1_1; in Curl_http_auth_act()
1214 if((data->state.httpwant == CURL_HTTP_VERSION_1_0) && in Curl_use_http_1_1plus()
1217 return ((data->state.httpwant == CURL_HTTP_VERSION_NONE) || in Curl_use_http_1_1plus()
1218 (data->state.httpwant >= CURL_HTTP_VERSION_1_1)); in Curl_use_http_1_1plus()
2695 (data->state.httpwant == CURL_HTTP_VERSION_2)) { in Curl_http()
H A Dws.c1160 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.c956 data->set.httpwant = (unsigned char)arg; in Curl_vsetopt()
H A Dhttp2.c2767 data->state.httpwant == CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE) { in Curl_http2_may_switch()
H A Dmulti.c2417 data->state.httpwant = CURL_HTTP_VERSION_1_1;

Completed in 77 milliseconds