From 328977cfec1c5f370043d27b64ded201da95a380 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 8 Feb 2013 17:59:11 +0300 Subject: Block any protocols in curl except HTTP and HTTPS. --- src/gui/whoisonline.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui') 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, -- cgit v1.2.3-70-g09d2