Home
last modified time | relevance | path

Searched refs:httpversion (Results 1 – 16 of 16) sorted by relevance

/curl/lib/
H A Dhttp.c1208 if((data->state.httpversion == 10) || (conn->httpversion == 10)) in Curl_use_http_1_1plus()
3187 switch(k->httpversion) { in Curl_http_statusline()
3197 if(conn->httpversion && in Curl_http_statusline()
3198 (k->httpversion/10 != conn->httpversion/10)) { in Curl_http_statusline()
3200 conn->httpversion/10, k->httpversion/10); in Curl_http_statusline()
3206 k->httpversion/10, k->httpversion%10); in Curl_http_statusline()
3211 data->info.httpversion = k->httpversion; in Curl_http_statusline()
3212 conn->httpversion = (unsigned char)k->httpversion; in Curl_http_statusline()
3214 if(!data->state.httpversion || data->state.httpversion > k->httpversion) in Curl_http_statusline()
3216 data->state.httpversion = (unsigned char)k->httpversion; in Curl_http_statusline()
[all …]
H A Drequest.h84 int httpversion; /* Version in response (09, 10, 11, etc.) */ member
H A Dgetinfo.c64 info->httpversion = 0; in Curl_initinfo()
327 switch(data->info.httpversion) { in getinfo_long()
H A Durldata.h997 unsigned char httpversion; /* the HTTP version*10 reported by the server */ member
1023 int httpversion; /* the http version number X.Y = X*10+Y */ member
1353 unsigned char httpversion; /* the lowest HTTP version*10 reported by any member
H A Dc-hyper.c277 data->req.httpversion = http_version == HYPER_HTTP_VERSION_1_1 ? 11 : in status_line()
283 conn->httpversion = (unsigned char)data->req.httpversion; in status_line()
H A Durl.c1007 !conn->httpversion) { in url_match_conn()
1041 if((conn->httpversion >= 20) && in url_match_conn()
1045 conn->connection_id, conn->httpversion)); in url_match_conn()
1047 if((conn->httpversion >= 30) && in url_match_conn()
1051 conn->connection_id, conn->httpversion)); in url_match_conn()
3140 conn->httpversion = 11;
3143 conn->httpversion = 20;
3147 conn->httpversion = 30;
H A Dtransfer.c592 data->state.httpversion = 0; in Curl_pretransfer()
796 if(conn->bits.multiplex || conn->httpversion >= 20 || want_send) { in xfer_setup()
H A Dhttp2.c2868 conn->httpversion = 20; /* we know we are on HTTP/2 now */ in Curl_http2_switch()
2891 cf->conn->httpversion = 20; /* we know we are on HTTP/2 now */ in Curl_http2_switch_at()
2943 conn->httpversion = 20; /* we know we are on HTTP/2 now */ in Curl_http2_upgrade()
/curl/src/
H A Dtool_cfgable.h170 long httpversion; member
H A Dtool_getparam.c676 long httpversion) in sethttpver() argument
678 if(config->httpversion && in sethttpver()
679 (config->httpversion != httpversion)) in sethttpver()
682 config->httpversion = httpversion; in sethttpver()
H A Dtool_operate.c1101 if(config->httpversion) in config2setopts()
1102 my_setopt_enum(curl, CURLOPT_HTTP_VERSION, config->httpversion); in config2setopts()
/curl/lib/vquic/
H A Dvquic.c712 (conn->httpversion == 30)); in Curl_conn_is_http3()
H A Dcurl_msh3.c913 cf->conn->httpversion = 30; in cf_msh3_connect()
H A Dcurl_quiche.c1382 cf->conn->httpversion = 30; in cf_quiche_verify_peer()
H A Dcurl_ngtcp2.c1625 cf->conn->httpversion = 30; in qng_verify_peer()
H A Dcurl_osslq.c565 cf->conn->httpversion = 30; in cf_osslq_verify_peer()

Completed in 115 milliseconds