Skip to content

Commit f6af42c

Browse files
committed
Remove SecRequestBodyInMemoryLimit from configuration template
It is no longer supported since 81879cd, so it would be better to remove any mentions from configuration as well to avoid possible confusions.
1 parent 1d3c4c6 commit f6af42c

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)