Skip to content

Commit 9d062f5

Browse files
authored
Merge pull request #1543 from defanator/remove-SecRequestBodyInMemoryLimit-from-conf
Remove SecRequestBodyInMemoryLimit from configuration template
2 parents 5c737c2 + f6af42c commit 9d062f5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

modsecurity.conf-recommended

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@ SecRule REQUEST_HEADERS:Content-Type "application/json" \
3838
SecRequestBodyLimit 13107200
3939
SecRequestBodyNoFilesLimit 131072
4040

41-
# Store up to 128 KB of request body data in memory. When the multipart
42-
# parser reachers this limit, it will start using your hard disk for
43-
# storage. That is slow, but unavoidable.
44-
#
45-
SecRequestBodyInMemoryLimit 131072
46-
4741
# What do do if the request body size is above our configured limit.
4842
# Keep in mind that this setting will automatically be set to ProcessPartial
4943
# when SecRuleEngine is set to DetectionOnly mode in order to minimize

0 commit comments

Comments
 (0)