diff options
Diffstat (limited to 'module')
-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) |