diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-14 01:31:26 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-14 01:31:26 +0100 |
commit | 1319c94aa9e2b05b97b16b0cf9f9125c11e30fd1 (patch) | |
tree | 5c6b777593606bc49ee0d14329638f83c598c276 /pyload/network/HTTPRequest.py | |
parent | [Plugin] Fix wait routine (thx rlindner81) (diff) | |
download | pyload-1319c94aa9e2b05b97b16b0cf9f9125c11e30fd1.tar.xz |
Try using SSL for FTP connections, proceed as normal otherwise
Diffstat (limited to 'pyload/network/HTTPRequest.py')
-rw-r--r-- | pyload/network/HTTPRequest.py | 1 |
1 files changed, 1 insertions, 0 deletions
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) |