Searched refs:httpwant (Results 1 – 11 of 11) sorted by relevance
146 static const struct alpn_spec *alpn_get_spec(int httpwant, bool use_alpn) in alpn_get_spec() argument151 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() local1974 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()
556 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()
1352 unsigned char httpwant; /* when non-zero, a specific HTTP version requested member1654 unsigned char httpwant; /* when non-zero, a specific HTTP version requested member
485 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()
625 data->state.httpwant = data->set.httpwant; in Curl_pretransfer()
174 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()
1160 data->state.httpwant = CURL_HTTP_VERSION_1_1; in ws_setup_conn()
285 data->state.httpwant = CURL_HTTP_VERSION_1_0; in status_line()
956 data->set.httpwant = (unsigned char)arg; in Curl_vsetopt()
2767 data->state.httpwant == CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE) { in Curl_http2_may_switch()
2417 data->state.httpwant = CURL_HTTP_VERSION_1_1;
Completed in 77 milliseconds