mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 15:21:44 +00:00
Merge pull request #855 from devnexen/download_connect_timeout
client download, sets a sane connection timeout, the default being wa…
This commit is contained in:
commit
d3f6af18c1
1 changed files with 1 additions and 0 deletions
|
@ -294,6 +294,7 @@ static void CL_StartHTTPDownload (dlqueue_t *entry, dlhandle_t *dl)
|
|||
qcurl_easy_setopt(dl->curl, CURLOPT_PROXY, cl_http_proxy->string);
|
||||
qcurl_easy_setopt(dl->curl, CURLOPT_LOW_SPEED_TIME, (long)cl_http_bw_limit_tmout->value);
|
||||
qcurl_easy_setopt(dl->curl, CURLOPT_LOW_SPEED_LIMIT, (long)cl_http_bw_limit_rate->value);
|
||||
qcurl_easy_setopt(dl->curl, CURLOPT_CONNECTTIMEOUT, 30);
|
||||
qcurl_easy_setopt(dl->curl, CURLOPT_FOLLOWLOCATION, 1);
|
||||
qcurl_easy_setopt(dl->curl, CURLOPT_MAXREDIRS, 5);
|
||||
qcurl_easy_setopt(dl->curl, CURLOPT_NOPROGRESS, (cl_http_show_dw_progress->value != 1.0));
|
||||
|
|
Loading…
Reference in a new issue