Show More
@@ -140,6 +140,9 b" coreconfigitem('server', 'uncompressedal" | |||
|
140 | 140 | coreconfigitem('server', 'validate', |
|
141 | 141 | default=False, |
|
142 | 142 | ) |
|
143 | coreconfigitem('server', 'zliblevel', | |
|
144 | default=-1, | |
|
145 | ) | |
|
143 | 146 | coreconfigitem('ui', 'clonebundleprefers', |
|
144 | 147 | default=list, |
|
145 | 148 | ) |
@@ -135,7 +135,7 b' class webproto(wireproto.abstractserverp' | |||
|
135 | 135 | # Don't allow untrusted settings because disabling compression or |
|
136 | 136 | # setting a very high compression level could lead to flooding |
|
137 | 137 | # the server's network or CPU. |
|
138 |
opts = {'level': self.ui.configint('server', 'zliblevel' |
|
|
138 | opts = {'level': self.ui.configint('server', 'zliblevel')} | |
|
139 | 139 | return HGTYPE, util.compengines['zlib'], opts |
|
140 | 140 | |
|
141 | 141 | def iscmd(cmd): |
General Comments 0
You need to be logged in to leave comments.
Login now