diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-28 12:22:25 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-28 12:22:25 +0100 |
commit | 01c59d6061cb4dfd3149840e0ceef07556b05e33 (patch) | |
tree | 23a057b927dc600f71594c8e775bad59ec1f7b91 | |
parent | Quit all threads in core.shutdown() (diff) | |
download | pyload-01c59d6061cb4dfd3149840e0ceef07556b05e33.tar.xz |
pycurl.MAXREDIRS up to 10
-rw-r--r-- | pyload/network/HTTPRequest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/network/HTTPRequest.py b/pyload/network/HTTPRequest.py index eac03a365..b1352bd6b 100644 --- a/pyload/network/HTTPRequest.py +++ b/pyload/network/HTTPRequest.py @@ -60,7 +60,7 @@ class HTTPRequest(object): def initHandle(self): """ sets common options to curl handle """ self.c.setopt(pycurl.FOLLOWLOCATION, 1) - self.c.setopt(pycurl.MAXREDIRS, 5) + self.c.setopt(pycurl.MAXREDIRS, 10) self.c.setopt(pycurl.CONNECTTIMEOUT, 30) self.c.setopt(pycurl.NOSIGNAL, 1) self.c.setopt(pycurl.NOPROGRESS, 1) |