Skip to content

Commit 12bcdca

Browse files
authored
Merge pull request #10148 from harshmadhani/master
Updated the maximum size allowed for request body to 10 MB
2 parents 5c518a1 + ed55d0f commit 12bcdca

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

docs/src/main/asciidoc/http-reference.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ The following properties are supported.
208208
[cols="<m,<m,<2",options="header"]
209209
|===
210210
|Property Name|Default|Description
211-
|quarkus.http.limits.max-body-size| `unlimited` |The maximum size of request body.
211+
|quarkus.http.limits.max-body-size| `10240K` |The maximum size of request body.
212212
|quarkus.http.limits.max-header-size|`2OK`|The maximum length of all headers.
213213
|===
214214

extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/ServerLimitsConfig.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ public class ServerLimitsConfig {
1616

1717
/**
1818
* The maximum size of a request body.
19-
* Default: no limit.
2019
*/
21-
@ConfigItem
20+
@ConfigItem(defaultValue = "10240K")
2221
public Optional<MemorySize> maxBodySize;
2322

2423
/**

0 commit comments

Comments
 (0)