add new option max_resource_size

This commit is contained in:
Peter Bieringer
2025-12-11 22:53:02 +01:00
parent e66d83cd84
commit bc2a14481f
3 changed files with 21 additions and 0 deletions

View File

@@ -164,6 +164,10 @@ DEFAULT_CONFIG_SCHEMA: types.CONFIG_SCHEMA = OrderedDict([
"value": "100000000",
"help": "maximum size of request body in bytes (default: 100 Mbyte)",
"type": positive_int}),
("max_resource_size", {
"value": "10000000",
"help": "maximum size of resource (default: 10 Mbyte)",
"type": positive_int}),
("timeout", {
"value": "30",
"help": "socket timeout",