##// END OF EJS Templates
configitems: register the 'server.maxhttpheaderlen' config
marmoute -
r33221:ab9121fd default
parent child Browse files
Show More
@@ -128,6 +128,9 b" coreconfigitem('server', 'concurrent-pus"
128 128 coreconfigitem('server', 'disablefullbundle',
129 129 default=False,
130 130 )
131 coreconfigitem('server', 'maxhttpheaderlen',
132 default=1024,
133 )
131 134 coreconfigitem('ui', 'clonebundleprefers',
132 135 default=list,
133 136 )
@@ -771,7 +771,7 b' def _capabilities(repo, proto):'
771 771
772 772 if proto.name == 'http':
773 773 caps.append('httpheader=%d' %
774 repo.ui.configint('server', 'maxhttpheaderlen', 1024))
774 repo.ui.configint('server', 'maxhttpheaderlen'))
775 775 if repo.ui.configbool('experimental', 'httppostargs', False):
776 776 caps.append('httppostargs')
777 777
General Comments 0
You need to be logged in to leave comments. Login now