Show More
@@ -74,6 +74,9 b' class webproto(wireproto.abstractserverp' | |||
|
74 | 74 | self.ui.ferr, self.ui.fout = self.oldio |
|
75 | 75 | return val |
|
76 | 76 | def groupchunks(self, cg): |
|
77 | # Don't allow untrusted settings because disabling compression or | |
|
78 | # setting a very high compression level could lead to flooding | |
|
79 | # the server's network or CPU. | |
|
77 | 80 | z = zlib.compressobj(self.ui.configint('server', 'zliblevel', -1)) |
|
78 | 81 | while True: |
|
79 | 82 | chunk = cg.read(4096) |
General Comments 0
You need to be logged in to leave comments.
Login now