Skip to content

Stop buffering when the request is larger than SecRequestBodyLimit in ProcessPartial mode #709

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

Closed

Conversation

spectrumjade
Copy link
Contributor

This change should address #705. It will cause ModSec to stop buffering the incoming request body if it is larger than the configured request limit and in ProcessPartial mode. It will not send an EOS bucket in the forwarding phase of the input filter if it did not read an EOS bucket.

A side effect of handling buffering like this is that request body parsers will sometimes throw errors if they cannot see all of the request data.

@spectrumjade
Copy link
Contributor Author

Are there any thoughts on this pull request?

@zimmerle zimmerle force-pushed the master branch 2 times, most recently from e516f4c to 84f2299 Compare November 3, 2014 19:45
@zimmerle zimmerle added this to the v2.9.1 milestone Jan 25, 2016
@zimmerle zimmerle self-assigned this Jan 25, 2016
@zimmerle
Copy link
Contributor

Hi @justintime32, thank you for the patch. Finally merged. It will be released as part of v2.9.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants