-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: arguments accept units `max-body-size` and `read-buffer-size` now accept units as defined in the docs. Fixes #1489 Signed-off-by: Mike Nguyen <hey@mike.ee> * chore: gofumpt Signed-off-by: Mike Nguyen <hey@mike.ee> * refactor: modify logic to comply with vetting Signed-off-by: Mike Nguyen <hey@mike.ee> * chore: gofumpt -w . Signed-off-by: Mike Nguyen <hey@mike.ee> * refactor: set defaults `max-body-size` is defaulted to 4Mi `request-buffer-size` is defaulted to 4Ki This is inline with the runtime. Signed-off-by: Mike Nguyen <hey@mike.ee> * fix: set defaults in run and annotate Signed-off-by: Mike Nguyen <hey@mike.ee> * chore: gofumpt Signed-off-by: Mike Nguyen <hey@mike.ee> * refactor: exit with error rather than panic Co-authored-by: Anton Troshin <troll.sic@gmail.com> Signed-off-by: Mike Nguyen <hey@mike.ee> --------- Signed-off-by: Mike Nguyen <hey@mike.ee> Co-authored-by: Anton Troshin <troll.sic@gmail.com>
- Loading branch information
1 parent
a968b18
commit 0cd0585
Showing
4 changed files
with
120 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters