summaryrefslogtreecommitdiffstats
path: root/pyload/network/HTTPRequest.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-28 12:22:25 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-28 12:22:25 +0100
commit01c59d6061cb4dfd3149840e0ceef07556b05e33 (patch)
tree23a057b927dc600f71594c8e775bad59ec1f7b91 /pyload/network/HTTPRequest.py
parentQuit all threads in core.shutdown() (diff)
downloadpyload-01c59d6061cb4dfd3149840e0ceef07556b05e33.tar.xz
pycurl.MAXREDIRS up to 10
Diffstat (limited to 'pyload/network/HTTPRequest.py')
-rw-r--r--pyload/network/HTTPRequest.py2
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)