diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-08 17:59:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-10 03:07:43 +0300 |
commit | 328977cfec1c5f370043d27b64ded201da95a380 (patch) | |
tree | f147eada01835d7a9c16b9168cfc7d672aab4046 /src/gui | |
parent | 65a51323181bdf637476d188914067d790dc55fd (diff) | |
download | plus-328977cfec1c5f370043d27b64ded201da95a380.tar.gz plus-328977cfec1c5f370043d27b64ded201da95a380.tar.bz2 plus-328977cfec1c5f370043d27b64ded201da95a380.tar.xz plus-328977cfec1c5f370043d27b64ded201da95a380.zip |
Block any protocols in curl except HTTP and HTTPS.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/whoisonline.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/whoisonline.cpp b/src/gui/whoisonline.cpp index ed3d038a7..df2e5a47e 100644 --- a/src/gui/whoisonline.cpp +++ b/src/gui/whoisonline.cpp @@ -516,6 +516,7 @@ int WhoIsOnline::downloadThread(void *ptr) curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 7); curl_easy_setopt(curl, CURLOPT_TIMEOUT, 30); Net::Download::addProxy(curl); + Net::Download::secureCurl(curl); struct curl_slist *pHeaders = nullptr; // Make sure the resources2.txt and news.txt aren't cached, |