summaryrefslogtreecommitdiffstats
path: root/module/PluginThread.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-01-22 22:21:23 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-01-22 22:21:23 +0100
commit4dc4268919d29de81679c99173b39529d8e41f44 (patch)
treeacbdf01d0390053bd4c70d075a59ea74f421755c /module/PluginThread.py
parentfixes for chunked download (diff)
downloadpyload-4dc4268919d29de81679c99173b39529d8e41f44.tar.xz
added missing curl.close
Diffstat (limited to 'module/PluginThread.py')
-rw-r--r--module/PluginThread.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/PluginThread.py b/module/PluginThread.py
index f31aa43f8..216f59853 100644
--- a/module/PluginThread.py
+++ b/module/PluginThread.py
@@ -220,6 +220,8 @@ class DownloadThread(PluginThread):
code = 0
msg = e.args
+ self.m.log.debug("pycurl exception %s: %s" % (code, msg))
+
if code in (7, 18, 28, 52, 56):
self.m.log.warning(_("Couldn't connect to host or connection resetted waiting 1 minute and retry."))
wait = time() + 60