mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
MODSEC-181
This commit is contained in:
@@ -775,6 +775,13 @@ static int hook_request_late(request_rec *r) {
|
||||
return HTTP_REQUEST_ENTITY_TOO_LARGE;
|
||||
}
|
||||
break;
|
||||
case -6 : /* EOF when reading request body. */
|
||||
if (my_error_msg != NULL) {
|
||||
msr_log(msr, 4, "%s", my_error_msg);
|
||||
}
|
||||
r->connection->keepalive = AP_CONN_CLOSE;
|
||||
return HTTP_BAD_REQUEST;
|
||||
break;
|
||||
default :
|
||||
/* allow through */
|
||||
break;
|
||||
|
Reference in New Issue
Block a user