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

epociask
Copy link
Collaborator

@epociask epociask commented Jan 9, 2025

Fixes Issue

Fixes #

Changes proposed

Screenshots (Optional)

Note to reviewers

@epociask epociask requested review from samlaf, bxue-l2 and litt3 January 9, 2025 08:35
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

@epociask epociask merged commit 8a17f2e into main Jan 9, 2025
9 checks passed
@epociask epociask 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