diff options
author | Christian Breunig <christian@breunig.cc> | 2024-03-07 22:03:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-07 22:03:08 +0100 |
commit | da759a46efaaa937edae2440a7743d325ebf99b1 (patch) | |
tree | 962733aaf4c6622d7cecee9658104d4eda924cf4 /interface-definitions | |
parent | 311791ab536816a187a8a21562370e51eda3baba (diff) | |
parent | 4792d39bb84991768404f69ff807e43a9979a79e (diff) | |
download | vyos-1x-da759a46efaaa937edae2440a7743d325ebf99b1.tar.gz vyos-1x-da759a46efaaa937edae2440a7743d325ebf99b1.zip |
Merge pull request #3108 from dmbaturin/T6107-body-max-size
http-api: T6107: add an option to increase the request body size limit
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/service_https.xml.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/interface-definitions/service_https.xml.in b/interface-definitions/service_https.xml.in index b60c7ff2e..afe430c0c 100644 --- a/interface-definitions/service_https.xml.in +++ b/interface-definitions/service_https.xml.in @@ -138,6 +138,19 @@ <leafNode name='port'> <defaultValue>443</defaultValue> </leafNode> + <leafNode name="request-body-size-limit"> + <properties> + <help>Maximum request body size in megabytes</help> + <valueHelp> + <format>u32:1-256</format> + <description>Request body size in megabytes</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-256"/> + </constraint> + </properties> + <defaultValue>1</defaultValue> + </leafNode> <node name="certificates"> <properties> <help>TLS certificates</help> |