summaryrefslogtreecommitdiff
path: root/src/net/download.h
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/net/download.h
parent65a51323181bdf637476d188914067d790dc55fd (diff)
downloadmv-328977cfec1c5f370043d27b64ded201da95a380.tar.gz
mv-328977cfec1c5f370043d27b64ded201da95a380.tar.bz2
mv-328977cfec1c5f370043d27b64ded201da95a380.tar.xz
mv-328977cfec1c5f370043d27b64ded201da95a380.zip
Block any protocols in curl except HTTP and HTTPS.
Diffstat (limited to 'src/net/download.h')
-rw-r--r--src/net/download.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/download.h b/src/net/download.h
index 77f1d1ccc..f9f842588 100644
--- a/src/net/download.h
+++ b/src/net/download.h
@@ -97,6 +97,8 @@ class Download final
static void addProxy(CURL *curl);
+ static void secureCurl(CURL *curl);
+
private:
static int downloadThread(void *ptr);
static int downloadProgress(void *clientp, double dltotal,