mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2024-11-20 11:49:17 +01:00
Set CA cert path in Downloader::processDownloadQueue
Forgot to set CURLOPT_CAINFO in 0b455ddedc
for curl handles that Downloader::processDownloadQueue creates
This commit is contained in:
parent
0b455ddedc
commit
24bd3a7c0e
@ -2905,6 +2905,9 @@ void Downloader::processDownloadQueue(Config conf, const unsigned int& tid)
|
||||
curl_easy_setopt(dlhandle, CURLOPT_LOW_SPEED_TIME, 30);
|
||||
curl_easy_setopt(dlhandle, CURLOPT_LOW_SPEED_LIMIT, 200);
|
||||
|
||||
if (!conf.sCACertPath.empty())
|
||||
curl_easy_setopt(dlhandle, CURLOPT_CAINFO, conf.sCACertPath.c_str());
|
||||
|
||||
xferInfo xferinfo;
|
||||
xferinfo.tid = tid;
|
||||
xferinfo.curlhandle = dlhandle;
|
||||
|
Loading…
Reference in New Issue
Block a user