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

Add webserver option to limit client request payload size #2247

Closed
barchetta opened this issue Aug 11, 2020 · 1 comment
Closed

Add webserver option to limit client request payload size #2247

barchetta opened this issue Aug 11, 2020 · 1 comment
Assignees
Labels
2.x Issues for 2.x version branch enhancement New feature or request P2 webserver

Comments

@barchetta
Copy link
Member

Add an option to limit the payload size of incoming requests. If an incoming request exceeds the maximum payload size then the server would return 413 Payload Too Large. This should work with both Content-Length and Transfer-Encoding: chunked.

Some examples from other HTTP servers:

It's understood that the Helidon WebServer is not intended to be a full featured tier 1 HTTP server. But this seems like a reasonable request to harden the webserver to help detect/avoid client bugs and defend against DoS attacks.

@barchetta barchetta added enhancement New feature or request webserver 2.x Issues for 2.x version branch labels Aug 11, 2020
@m0mus m0mus added the P3 label Aug 13, 2020
@tomas-langer tomas-langer removed the P3 label Oct 12, 2020
@m0mus m0mus added the P2 label Oct 15, 2020
@spericas
Copy link
Member

spericas commented Nov 3, 2020

PR #2491

@spericas spericas closed this as completed Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x Issues for 2.x version branch enhancement New feature or request P2 webserver
Projects
Archived in project
Development

No branches or pull requests

4 participants