Skip to content

Commit

Permalink
Merge pull request #10148 from harshmadhani/master
Browse files Browse the repository at this point in the history
Updated the maximum size allowed for request body to 10 MB
  • Loading branch information
geoand authored Jun 22, 2020
2 parents 5c518a1 + ed55d0f commit 12bcdca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/http-reference.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ The following properties are supported.
[cols="<m,<m,<2",options="header"]
|===
|Property Name|Default|Description
|quarkus.http.limits.max-body-size| `unlimited` |The maximum size of request body.
|quarkus.http.limits.max-body-size| `10240K` |The maximum size of request body.
|quarkus.http.limits.max-header-size|`2OK`|The maximum length of all headers.
|===

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ public class ServerLimitsConfig {

/**
* The maximum size of a request body.
* Default: no limit.
*/
@ConfigItem
@ConfigItem(defaultValue = "10240K")
public Optional<MemorySize> maxBodySize;

/**
Expand Down

0 comments on commit 12bcdca

Please sign in to comment.