diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-07 19:51:43 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-07 19:51:43 +0200 |
commit | 1f477225de74162f8402df74ff93d1c4b14cbaae (patch) | |
tree | 9e7815cfd3fe03557b3ade875267c77381f03a6a | |
parent | files.mail.ru closed #101 (diff) | |
download | pyload-1f477225de74162f8402df74ff93d1c4b14cbaae.tar.xz |
closed #149
-rwxr-xr-x | module/network/Request.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/module/network/Request.py b/module/network/Request.py index 9c711a02c..03b69f528 100755 --- a/module/network/Request.py +++ b/module/network/Request.py @@ -87,8 +87,10 @@ class Request: if hasattr(pycurl, "AUTOREFERER"): self.pycurl.setopt(pycurl.AUTOREFERER, 1) self.pycurl.setopt(pycurl.HEADERFUNCTION, self.write_header) - self.pycurl.setopt(pycurl.BUFFERSIZE, self.bufferSize) + #self.pycurl.setopt(pycurl.BUFFERSIZE, self.bufferSize) self.pycurl.setopt(pycurl.SSL_VERIFYPEER, 0) + self.pycurl.setopt(pycurl.LOW_SPEED_TIME, 20) + self.pycurl.setopt(pycurl.LOW_SPEED_LIMIT, 100) if self.debug: self.pycurl.setopt(pycurl.VERBOSE, 1) |