Mercurial > hg
comparison mercurial/configitems.py @ 34236:9becd05476b8
configitems: register the 'web.deny_read' config
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 30 Jun 2017 03:45:41 +0200 |
parents | 147104631eac |
children | 131f8cd2c2b4 |
comparison
equal
deleted
inserted
replaced
34235:147104631eac | 34236:9becd05476b8 |
---|---|
607 default=False, | 607 default=False, |
608 ) | 608 ) |
609 coreconfigitem('web', 'csp', | 609 coreconfigitem('web', 'csp', |
610 default=None, | 610 default=None, |
611 ) | 611 ) |
612 coreconfigitem('web', 'deny_read', | |
613 default=list, | |
614 ) | |
612 coreconfigitem('worker', 'backgroundclose', | 615 coreconfigitem('worker', 'backgroundclose', |
613 default=dynamicdefault, | 616 default=dynamicdefault, |
614 ) | 617 ) |
615 # Windows defaults to a limit of 512 open files. A buffer of 128 | 618 # Windows defaults to a limit of 512 open files. A buffer of 128 |
616 # should give us enough headway. | 619 # should give us enough headway. |