Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make body collect max optional #2076

Merged
merged 2 commits into from Oct 15, 2019
Merged

make body collect max optional #2076

merged 2 commits into from Oct 15, 2019

Conversation

tanner0101
Copy link
Member

@tanner0101 tanner0101 commented Oct 14, 2019

This change makes HTTPBodyStreamStrategy.collect's max body size nil by default, allowing for routes to rely on the HTTPServer.Configuration max body size value.

HTTPServer.Configuration's max body size has also been decreased to 1 << 14.

@tanner0101 tanner0101 added the enhancement New feature or request label Oct 14, 2019
@tanner0101 tanner0101 added this to In Progress in Vapor 4 via automation Oct 14, 2019
@tanner0101 tanner0101 merged commit d902405 into master Oct 15, 2019
Vapor 4 automation moved this from In Progress to Done Oct 15, 2019
@tanner0101 tanner0101 deleted the tn-collect-max branch October 15, 2019 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Vapor 4
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

1 participant