##// END OF EJS Templates
wireproto: add config knob for http header length limit...
wireproto: add config knob for http header length limit Well-behaved Mercurial clients will respect the httpheader capability by not sending http headers longer than the given limit in bytes. The limit is currently hard-coded at 1024 bytes, a safe value for any web server. Since parsing headers is a notable factor in web server performance, tuning header size can nontrivially improve performance for request-heavy operations (eg. obsolete marker negotiation). Exposing the maximum header length limit as a configuration setting is a simple way to enable such tuning.

File last commit:

r16438:28a90cdf default
r25691:5cda0ce0 default
Show More
__init__.py
0 lines | 0 B | text/x-python | PythonLexer