Searched refs:httpwant (Results 1 – 11 of 11) sorted by relevance
160 static const struct alpn_spec *alpn_get_spec(int httpwant, bool use_alpn) in alpn_get_spec() argument165 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() local2031 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()
600 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()
484 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) {
591 data->state.httpwant = data->set.httpwant; in Curl_pretransfer()
1351 unsigned char httpwant; /* when non-zero, a specific HTTP version requested member1653 unsigned char httpwant; /* when non-zero, a specific HTTP version requested member
174 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()
285 data->state.httpwant = CURL_HTTP_VERSION_1_0; in status_line()
1281 data->state.httpwant = CURL_HTTP_VERSION_1_1; in ws_setup_conn()
633 data->set.httpwant = (unsigned char)arg; in setopt_long()
2841 data->state.httpwant == CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE) { in Curl_http2_may_switch()
2185 data->state.httpwant = CURL_HTTP_VERSION_1_1;
Completed in 72 milliseconds