Skip to content

Commit 7eda6a2

Browse files
committed
Max payload
1 parent bed5a26 commit 7eda6a2

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

v2.6/proxy.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@
2121
"description": "The list of operations to **execute sequentially** (top down). Every operation is defined with an object containing two properties:\n\nSee: https://www.krakend.io/docs/backends/flatmap/",
2222
"type": "array",
2323
"$ref": "proxy/flatmap.json"
24+
},
25+
"max_payload": {
26+
"title": "Maximum Payload",
27+
"description": "Enterprise Only. Limits the maximum number of bytes a user can send to the endpoint. `0` means no limit. You can also set this value globally at the [service level](/docs/enterprise/service-settings/router-options/#max_payload).\n\nSee: https://www.krakend.io/docs/service-settings/router-options/",
28+
"type": "integer",
29+
"default": 0
2430
}
2531
}
2632
}

v2.6/router.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@
5555
"type": "boolean",
5656
"default": false
5757
},
58+
"max_payload": {
59+
"title": "Maximum Payload",
60+
"description": "**Requires Enterprise**. Limits the maximum number of bytes a user can send to the gateway. `0` means no limit. You can also set this value [per endpoint](/docs/enterprise/endpoints/maximum-request-size/).\n\nSee: https://www.krakend.io/docs/service-settings/router-options/",
61+
"type": "integer",
62+
"default": 0
63+
},
5864
"disable_redirect_trailing_slash": {
5965
"title": "Disable redirect trailing slash",
6066
"description": "Disables automatic redirection if the current route can't be matched but a handler for the path with (without) the trailing slash exists.\n\nSee: https://www.krakend.io/docs/service-settings/router-options/",

0 commit comments

Comments
 (0)