-
Notifications
You must be signed in to change notification settings - Fork 34
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
Fail-fast on too-big request sizes when possible #37
Comments
Netty4.1 "New and Noteworthy" documented a improvement: In 4.0, there was no way to reject an oversized HTTP message before a client sends the content even if 100-continue header was present. This release adds an overridable method called handleOversizedMessage so that a user can perform his or her preferred task. By default, it responds with '413 Request Entity Too Large' response and closed the connection Should this be helpful for no content-length case? |
@vicbevis Riposte doesn't use |
fixed in 0.10.0 |
Following on to issue #27, we should fail-fast when the request has a content-length greater than the configured max-allowed-request-size value. Currently the failure only happens after we've actually received enough bytes to go over the threshold. This change cannot affect chunked encoding requests since they don't include a content-length header.
The text was updated successfully, but these errors were encountered: