Lines Matching refs:httpversion

560        conn->httpversion > 11) {  in Curl_http_auth_act()
563 conn->data->set.httpversion = CURL_HTTP_VERSION_1_1; in Curl_http_auth_act()
1183 && conn->httpversion != 20) { in Curl_add_buffer_send()
1622 if((data->state.httpversion == 10) || (conn->httpversion == 10)) in use_http_1_1plus()
1624 if((data->set.httpversion == CURL_HTTP_VERSION_1_0) && in use_http_1_1plus()
1625 (conn->httpversion <= 10)) in use_http_1_1plus()
1627 return ((data->set.httpversion == CURL_HTTP_VERSION_NONE) || in use_http_1_1plus()
1628 (data->set.httpversion >= CURL_HTTP_VERSION_1_1)); in use_http_1_1plus()
1654 (conn->httpversion != 20)) { in expect100()
1837 else if((conn->httpversion == 20) && in Curl_add_custom_headers()
1957 if(conn->httpversion < 20) { /* unless the connection is re-used and already in Curl_http()
1961 conn->httpversion = 20; /* we know we're on HTTP/2 now */ in Curl_http()
1973 if(conn->data->set.httpversion == in Curl_http()
1976 conn->httpversion = 20; in Curl_http()
2587 conn->httpversion != 20 && in Curl_http()
2588 (data->set.httpversion == CURL_HTTP_VERSION_2)) { in Curl_http()
2851 if(conn->httpversion != 20 && in Curl_http()
2990 if((conn->httpversion == 20) && data->req.upload_chunky) in Curl_http()
3356 (conn->httpversion == 11) && in Curl_http_readwrite_headers()
3549 conn->httpversion == 20) in Curl_http_readwrite_headers()
3616 &conn->httpversion, in Curl_http_readwrite_headers()
3622 conn->httpversion = 0; in Curl_http_readwrite_headers()
3628 conn->httpversion += 10 * httpversion_major; in Curl_http_readwrite_headers()
3632 if(conn->httpversion != 20) in Curl_http_readwrite_headers()
3641 conn->httpversion = 10; in Curl_http_readwrite_headers()
3650 conn->httpversion = 10; in Curl_http_readwrite_headers()
3669 conn->httpversion = 11; /* For us, RTSP acts like HTTP 1.1 */ in Curl_http_readwrite_headers()
3680 data->info.httpversion = conn->httpversion; in Curl_http_readwrite_headers()
3681 if(!data->state.httpversion || in Curl_http_readwrite_headers()
3682 data->state.httpversion > conn->httpversion) in Curl_http_readwrite_headers()
3684 data->state.httpversion = conn->httpversion; in Curl_http_readwrite_headers()
3708 if(conn->httpversion == 10) { in Curl_http_readwrite_headers()
3715 else if(conn->httpversion == 20 || in Curl_http_readwrite_headers()
3723 else if(conn->httpversion >= 11 && in Curl_http_readwrite_headers()
3820 if(conn->httpversion < 20) { in Curl_http_readwrite_headers()
3832 else if((conn->httpversion == 10) && in Curl_http_readwrite_headers()
3845 else if((conn->httpversion == 11) && in Curl_http_readwrite_headers()
3856 else if((conn->httpversion == 10) && in Curl_http_readwrite_headers()
4031 enum alpnid id = (conn->httpversion == 20) ? ALPN_h2 : ALPN_h1; in Curl_http_readwrite_headers()