diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-01-22 22:21:23 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-01-22 22:21:23 +0100 |
commit | 4dc4268919d29de81679c99173b39529d8e41f44 (patch) | |
tree | acbdf01d0390053bd4c70d075a59ea74f421755c /module/PluginThread.py | |
parent | fixes for chunked download (diff) | |
download | pyload-4dc4268919d29de81679c99173b39529d8e41f44.tar.xz |
added missing curl.close
Diffstat (limited to 'module/PluginThread.py')
-rw-r--r-- | module/PluginThread.py | 2 |
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 |