Searched refs:httpwant (Results 1 – 10 of 10) sorted by relevance
146 static const struct alpn_spec *alpn_get_spec(int httpwant, bool use_alpn) in alpn_get_spec() argument150 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() local1802 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()
531 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()
1451 unsigned char httpwant; /* when non-zero, a specific HTTP version requested member1722 unsigned char httpwant; /* when non-zero, a specific HTTP version requested member
239 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()
618 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()
1370 data->state.httpwant = data->set.httpwant; in Curl_pretransfer()
294 data->state.httpwant = CURL_HTTP_VERSION_1_0; in status_line()
936 data->set.httpwant = (unsigned char)arg; in Curl_vsetopt()
2470 data->state.httpwant = CURL_HTTP_VERSION_1_1;
2714 data->state.httpwant == CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE) { in Curl_http2_may_switch()