mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 19:47:47 +03:00
Tweak error message to make it clear it's not our fault.
This commit is contained in:
@@ -622,7 +622,7 @@ apr_status_t output_filter(ap_filter_t *f, apr_bucket_brigade *bb_in) {
|
|||||||
if (msr->txcfg->of_limit_action == RESPONSE_BODY_LIMIT_ACTION_REJECT) {
|
if (msr->txcfg->of_limit_action == RESPONSE_BODY_LIMIT_ACTION_REJECT) {
|
||||||
/* Reject response. */
|
/* Reject response. */
|
||||||
msr_log(msr, 1, "Output filter: Response body too large (over limit of %lu, "
|
msr_log(msr, 1, "Output filter: Response body too large (over limit of %lu, "
|
||||||
"total length not known).", msr->txcfg->of_limit);
|
"total not specified).", msr->txcfg->of_limit);
|
||||||
|
|
||||||
msr->of_status = OF_STATUS_COMPLETE;
|
msr->of_status = OF_STATUS_COMPLETE;
|
||||||
msr->resbody_status = RESBODY_STATUS_PARTIAL;
|
msr->resbody_status = RESBODY_STATUS_PARTIAL;
|
||||||
|
Reference in New Issue
Block a user