Lines Matching refs:httpversion
1543 return ((data->set.httpversion >= CURL_HTTP_VERSION_1_1) || in use_http_1_1plus()
1544 ((data->set.httpversion != CURL_HTTP_VERSION_1_0) && in use_http_1_1plus()
1545 ((conn->httpversion == 11) || in use_http_1_1plus()
1546 ((conn->httpversion != 10) && in use_http_1_1plus()
1547 (data->state.httpversion != 10))))) ? TRUE : FALSE; in use_http_1_1plus()
1560 (conn->httpversion != 20)) { in expect100()
1779 if(conn->httpversion < 20) { /* unless the connection is re-used and already in Curl_http()
1783 conn->httpversion = 20; /* we know we're on HTTP/2 now */ in Curl_http()
1926 if(conn->httpversion == 20) in Curl_http()
2334 conn->httpversion != 20 && in Curl_http()
2335 (data->set.httpversion == CURL_HTTP_VERSION_2_0)) { in Curl_http()
2615 if(conn->httpversion != 20 && in Curl_http()
3068 (conn->httpversion == 11) && in Curl_http_readwrite_headers()
3283 &conn->httpversion, in Curl_http_readwrite_headers()
3286 conn->httpversion += 10 * httpversion_major; in Curl_http_readwrite_headers()
3290 if(conn->httpversion != 20) in Curl_http_readwrite_headers()
3299 conn->httpversion = 10; in Curl_http_readwrite_headers()
3308 conn->httpversion = 10; in Curl_http_readwrite_headers()
3321 conn->httpversion = 11; /* For us, RTSP acts like HTTP 1.1 */ in Curl_http_readwrite_headers()
3332 data->info.httpversion = conn->httpversion; in Curl_http_readwrite_headers()
3333 if(!data->state.httpversion || in Curl_http_readwrite_headers()
3334 data->state.httpversion > conn->httpversion) in Curl_http_readwrite_headers()
3336 data->state.httpversion = conn->httpversion; in Curl_http_readwrite_headers()
3363 if(conn->httpversion == 10) { in Curl_http_readwrite_headers()
3370 else if(conn->httpversion == 20 || in Curl_http_readwrite_headers()
3378 else if(conn->httpversion >= 11 && in Curl_http_readwrite_headers()
3467 if(conn->httpversion < 20) { in Curl_http_readwrite_headers()
3479 else if((conn->httpversion == 10) && in Curl_http_readwrite_headers()
3492 else if((conn->httpversion == 11) && in Curl_http_readwrite_headers()
3503 else if((conn->httpversion == 10) && in Curl_http_readwrite_headers()
3591 conn->httpversion == 20)) { in Curl_http_readwrite_headers()