summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-08 17:59:11 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-10 03:07:43 +0300
commit328977cfec1c5f370043d27b64ded201da95a380 (patch)
treef147eada01835d7a9c16b9168cfc7d672aab4046 /src/gui
parent65a51323181bdf637476d188914067d790dc55fd (diff)
downloadManaVerse-328977cfec1c5f370043d27b64ded201da95a380.tar.gz
ManaVerse-328977cfec1c5f370043d27b64ded201da95a380.tar.bz2
ManaVerse-328977cfec1c5f370043d27b64ded201da95a380.tar.xz
ManaVerse-328977cfec1c5f370043d27b64ded201da95a380.zip
Block any protocols in curl except HTTP and HTTPS.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/whoisonline.cpp1
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,