summaryrefslogtreecommitdiffstats
path: root/pyload/web/middlewares.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-09-07 21:32:03 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-09-07 21:32:15 +0200
commit0537c47cb430afa1770bc5bf8c757de867a276c0 (patch)
tree0c8f0e21d9c258d888ee83723d8c881627a15b63 /pyload/web/middlewares.py
parentMoving plugin to pyload (diff)
downloadpyload-0537c47cb430afa1770bc5bf8c757de867a276c0.tar.xz
improved link grabber
Diffstat (limited to 'pyload/web/middlewares.py')
-rw-r--r--pyload/web/middlewares.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pyload/web/middlewares.py b/pyload/web/middlewares.py
index ae0911cc3..913e714bb 100644
--- a/pyload/web/middlewares.py
+++ b/pyload/web/middlewares.py
@@ -111,6 +111,8 @@ class GzipResponse(object):
out.close()
return [s]
+ # TODO: also writes large files to stringbuffer
+ # avoids optimized send_file and causes memory shortage
def finish_response(self, app_iter):
if self.compressible:
output = gzip.GzipFile(mode='wb', compresslevel=self.compress_level,