Home
last modified time | relevance | path

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

/curl/lib/
H A Dhttp_proxy.c59 bool is_connect, int httpversion, in dynhds_add_custom() argument
172 else if((httpversion >= 20) && in dynhds_add_custom()
227 int httpversion; /* HTTP version used to CONNECT */ member
296 result = dynhds_add_custom(data, TRUE, ctx->httpversion, &req->headers); in Curl_http_proxy_create_CONNECT()
329 int httpversion = 0; in http_proxy_cf_connect() local
345 httpversion = (alpn == CURL_HTTP_VERSION_1_0) ? 10 : 11; in http_proxy_cf_connect()
355 httpversion = 20; in http_proxy_cf_connect()
365 ctx->httpversion = httpversion; in http_proxy_cf_connect()
H A Dhttp.c1523 if(!httpversion) { in http_request_version()
1527 return httpversion; in http_request_version()
1532 switch(httpversion) { in get_http_string()
2223 if(httpversion > 10) { in http_req_set_reader()
2615 unsigned char httpversion; in Curl_http() local
3322 switch(k->httpversion) { in http_statusline()
3341 k->httpversion/10, k->httpversion%10); in http_statusline()
3346 data->info.httpversion = k->httpversion; in http_statusline()
3349 if(!data->state.httpversion || data->state.httpversion > k->httpversion) in http_statusline()
3351 data->state.httpversion = (unsigned char)k->httpversion; in http_statusline()
[all …]
H A Drequest.h88 unsigned char httpversion; /* Version in response (09, 10, 11, etc.) */ member
207 unsigned char httpversion);
H A Drequest.c71 req->httpversion = 0; in Curl_req_soft_reset()
379 unsigned char httpversion) in Curl_req_send() argument
388 data->req.httpversion_sent = httpversion; in Curl_req_send()
H A Dhttp.h91 int httpversion, struct dynbuf *req);
H A Dgetinfo.c64 info->httpversion = 0; in Curl_initinfo()
341 switch(data->info.httpversion) { in getinfo_long()
H A Drtsp.c235 unsigned char httpversion = 11; /* RTSP is close to HTTP/1.1, sort of... */ in rtsp_do() local
505 result = Curl_add_custom_headers(data, FALSE, httpversion, &req_buffer); in rtsp_do()
591 result = Curl_req_send(data, &req_buffer, httpversion); in rtsp_do()
H A Durldata.h988 int httpversion; /* the http version number X.Y = X*10+Y */ member
1318 unsigned char httpversion; /* the lowest HTTP version*10 reported by any member
H A Durl.c1035 unsigned char httpversion = Curl_conn_http_version(data); in url_match_conn() local
1036 if((httpversion >= 20) && in url_match_conn()
1040 conn->connection_id, httpversion)); in url_match_conn()
1042 if((httpversion >= 30) && in url_match_conn()
1046 conn->connection_id, httpversion)); in url_match_conn()
H A Dtransfer.c574 data->state.httpversion = 0; in Curl_pretransfer()
/curl/src/
H A Dtool_cfgable.h189 long httpversion; member
H A Dtool_getparam.c677 long httpversion) in sethttpver() argument
679 if(config->httpversion && in sethttpver()
680 (config->httpversion != httpversion)) in sethttpver()
683 config->httpversion = httpversion; in sethttpver()
H A Dtool_operate.c1088 if(config->httpversion) in config2setopts()
1089 my_setopt_enum(curl, CURLOPT_HTTP_VERSION, config->httpversion); in config2setopts()

Completed in 81 milliseconds