mercurial/hgweb/protocol.py
changeset 29748 5e2365698d44
parent 28883 032c4c2f802a
child 29788 b1809f5d7630
--- a/mercurial/hgweb/protocol.py	Sat Aug 06 17:04:22 2016 -0700
+++ b/mercurial/hgweb/protocol.py	Sun Aug 07 18:09:58 2016 -0700
@@ -74,7 +74,7 @@
         self.ui.ferr, self.ui.fout = self.oldio
         return val
     def groupchunks(self, cg):
-        z = zlib.compressobj()
+        z = zlib.compressobj(self.ui.configint('server', 'zliblevel', -1))
         while True:
             chunk = cg.read(4096)
             if not chunk: