From 1319c94aa9e2b05b97b16b0cf9f9125c11e30fd1 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 14 Nov 2014 01:31:26 +0100 Subject: Try using SSL for FTP connections, proceed as normal otherwise --- pyload/network/HTTPRequest.py | 1 + 1 file changed, 1 insertion(+) (limited to 'pyload/network/HTTPRequest.py') diff --git a/pyload/network/HTTPRequest.py b/pyload/network/HTTPRequest.py index 6060cd671..8b1f92a63 100644 --- a/pyload/network/HTTPRequest.py +++ b/pyload/network/HTTPRequest.py @@ -80,6 +80,7 @@ class HTTPRequest: self.c.setopt(pycurl.SSL_VERIFYPEER, 0) self.c.setopt(pycurl.LOW_SPEED_TIME, 60) self.c.setopt(pycurl.LOW_SPEED_LIMIT, 5) + self.c.setopt(pycurl.USE_SSL, pycurl.CURLUSESSL_TRY) #self.c.setopt(pycurl.VERBOSE, 1) -- cgit v1.2.3