mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
Improvements in detection only
This commit is contained in:
parent
cb3353f13d
commit
ae006f7a81
@ -771,8 +771,8 @@ static int hook_request_late(request_rec *r) {
|
||||
break;
|
||||
case -5 : /* Request body limit reached. */
|
||||
msr->inbound_error = 1;
|
||||
r->connection->keepalive = AP_CONN_CLOSE;
|
||||
if(msr->txcfg->if_limit_action == REQUEST_BODY_LIMIT_ACTION_REJECT) {
|
||||
r->connection->keepalive = AP_CONN_CLOSE;
|
||||
if (my_error_msg != NULL) {
|
||||
msr_log(msr, 1, "%s. Deny with code (%d)", my_error_msg, HTTP_REQUEST_ENTITY_TOO_LARGE);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user