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

fix(sigmap-EDAP-04): Add IO parsing size constraint on incoming request bodies #227

Merged
merged 2 commits into from
Jan 9, 2025

Conversation

ethenotethan
Copy link
Collaborator

Fixes Issue

Fixes #

Changes proposed

Screenshots (Optional)

Note to reviewers

server/handlers.go Outdated Show resolved Hide resolved
@@ -12,6 +12,11 @@ import (
"github.com/gorilla/mux"
)

const (
// limit requests to only 32 mib to mitigate potential DoS attacks
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// limit requests to only 32 mib to mitigate potential DoS attacks
// limit requests to only 32 MiB to mitigate potential DoS attacks

@ethenotethan ethenotethan merged commit 8a17f2e into main Jan 9, 2025
9 checks passed
@ethenotethan ethenotethan deleted the epociask--fix-EDAP-04 branch January 9, 2025 18:28
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.

3 participants