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

issues/243: Add option to restrict size of request bodies. #261

Merged
merged 15 commits into from
May 21, 2023

Conversation

komuw
Copy link
Owner

@komuw komuw commented May 20, 2023

Add option to restrict size of request bodies.
We also add a default value of 20MB if it is unset.

@komuw komuw marked this pull request as ready for review May 21, 2023 12:45
@komuw komuw changed the title issues/243: issues/243: Add option to restrict size of request bodies. May 21, 2023
@codecov-commenter
Copy link

codecov-commenter commented May 21, 2023

Codecov Report

Patch coverage: 75.00% and project coverage change: -0.02 ⚠️

Comparison is base (1d0b802) 77.72% compared to head (a064e52) 77.70%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #261      +/-   ##
==========================================
- Coverage   77.72%   77.70%   -0.02%     
==========================================
  Files          36       36              
  Lines        3331     3342      +11     
==========================================
+ Hits         2589     2597       +8     
- Misses        617      619       +2     
- Partials      125      126       +1     
Impacted Files Coverage Δ
server/server.go 79.50% <75.00%> (-0.33%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@komuw komuw merged commit f5b077e into main May 21, 2023
@komuw komuw deleted the issues/243-bodySize branch May 21, 2023 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

set max request body size
2 participants