add new option max_resource_size
This commit is contained in:
@@ -801,6 +801,18 @@ Default: `100000000` (100 Mbyte)
|
|||||||
|
|
||||||
In case of using a reverse proxy in front of check also there related option.
|
In case of using a reverse proxy in front of check also there related option.
|
||||||
|
|
||||||
|
##### max_resource_size
|
||||||
|
|
||||||
|
_(>= 3.5.10)_
|
||||||
|
|
||||||
|
The maximum size of a resource. (bytes)
|
||||||
|
|
||||||
|
Default: `10000000` (10 Mbyte)
|
||||||
|
|
||||||
|
Limited to 80% of max_content_length to cover plain base64 encoded payload.
|
||||||
|
|
||||||
|
Announced to clients requesting "max-resource-size" via PROPFIND.
|
||||||
|
|
||||||
##### timeout
|
##### timeout
|
||||||
|
|
||||||
Socket timeout. (seconds)
|
Socket timeout. (seconds)
|
||||||
|
|||||||
5
config
5
config
@@ -25,6 +25,11 @@
|
|||||||
# In case of using a reverse proxy in front of check also there related option
|
# In case of using a reverse proxy in front of check also there related option
|
||||||
#max_content_length = 100000000
|
#max_content_length = 100000000
|
||||||
|
|
||||||
|
# Max resource size (bytes), default: 10 Mbyte
|
||||||
|
# Limited to 80% of max_content_length to cover plain base64 encoded payload
|
||||||
|
# Announced to clients requesting "max-resource-size" via PROPFIND
|
||||||
|
#max_ressource_size = 10000000
|
||||||
|
|
||||||
# Socket timeout (seconds)
|
# Socket timeout (seconds)
|
||||||
#timeout = 30
|
#timeout = 30
|
||||||
|
|
||||||
|
|||||||
@@ -164,6 +164,10 @@ DEFAULT_CONFIG_SCHEMA: types.CONFIG_SCHEMA = OrderedDict([
|
|||||||
"value": "100000000",
|
"value": "100000000",
|
||||||
"help": "maximum size of request body in bytes (default: 100 Mbyte)",
|
"help": "maximum size of request body in bytes (default: 100 Mbyte)",
|
||||||
"type": positive_int}),
|
"type": positive_int}),
|
||||||
|
("max_resource_size", {
|
||||||
|
"value": "10000000",
|
||||||
|
"help": "maximum size of resource (default: 10 Mbyte)",
|
||||||
|
"type": positive_int}),
|
||||||
("timeout", {
|
("timeout", {
|
||||||
"value": "30",
|
"value": "30",
|
||||||
"help": "socket timeout",
|
"help": "socket timeout",
|
||||||
|
|||||||
Reference in New Issue
Block a user