summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/network/CurlChunk.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-08-01 19:16:24 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-08-01 19:16:37 +0200
commitda829af5930917a18f5d01b57ffdae7c98db1ff8 (patch)
tree36cd2ecea3a83b08279a84c6974a3313b465e80f /pyload/plugins/network/CurlChunk.py
parentAdapted 6 multi hoster plugins (diff)
downloadpyload-da829af5930917a18f5d01b57ffdae7c98db1ff8.tar.xz
fixed cookie passing, new test cases
Diffstat (limited to 'pyload/plugins/network/CurlChunk.py')
-rw-r--r--pyload/plugins/network/CurlChunk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugins/network/CurlChunk.py b/pyload/plugins/network/CurlChunk.py
index 4250db2ce..f5a19eb0d 100644
--- a/pyload/plugins/network/CurlChunk.py
+++ b/pyload/plugins/network/CurlChunk.py
@@ -164,7 +164,7 @@ class CurlChunk(CurlRequest):
def getHandle(self):
""" returns a Curl handle ready to use for perform/multiperform """
- self.setRequestContext(self.p.url, self.p.get, self.p.post, self.p.referer, self.cj)
+ self.setRequestContext(self.p.url, self.p.get, self.p.post, self.p.referer, self.p.cookies)
self.c.setopt(pycurl.WRITEFUNCTION, self.writeBody)
self.c.setopt(pycurl.HEADERFUNCTION, self.writeHeader)