Fix issue in detection only

This commit is contained in:
brenosilva 2011-04-04 16:37:18 +00:00
parent 2a8c8a7475
commit ed06ed2aec

View File

@ -735,7 +735,7 @@ static int hook_request_late(request_rec *r) {
"configured limit (%ld).", msr->txcfg->reqbody_limit); "configured limit (%ld).", msr->txcfg->reqbody_limit);
msr->inbound_error = 1; msr->inbound_error = 1;
if(msr->txcfg->if_limit_action == RESPONSE_BODY_LIMIT_ACTION_REJECT) if(msr->txcfg->if_limit_action == REQUEST_BODY_LIMIT_ACTION_REJECT)
return HTTP_REQUEST_ENTITY_TOO_LARGE; return HTTP_REQUEST_ENTITY_TOO_LARGE;
} }
} }