Changeset - d24c70ec9312
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2012-07-09 03:38:18
marcin@python-works.com
Fixed issue with gzipped streams for large git pushes.
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/middleware/simplegit.py
Show inline comments
 
@@ -30,6 +30,7 @@ import logging
 
import traceback
 

	
 
from dulwich import server as dulserver
 
from dulwich.web import LimitedInputFilter, GunzipFilter
 

	
 

	
 
class SimpleGitUploadPackHandler(dulserver.UploadPackHandler):
 
@@ -225,6 +226,7 @@ class SimpleGit(BaseVCSController):
 
            repo_name=repo_name,
 
            username=username,
 
        )
 
        app = GunzipFilter(LimitedInputFilter(app))
 
        return app
 

	
 
    def __get_repository(self, environ):
0 comments (0 inline, 0 general)