Squashed commit of the following:
commit
f1c1cbc839d80a13ae36775533f2d1804aa6b587
Author: Silviu Minut <sminut@cisco.com>
Date: Fri Aug 17 13:38:35 2018 -0400
file_api: set disable flow inspection as soon as the verdict is REJECT
file_api: treat a BLOCK verdict the same as a REJECT verdict, for good measure.
file_api: move the check on REJECT or BLOCK inside an upper if clause for performance reasons.
log_file_event(flow, policy);
config_file_signature(false);
file_stats->signatures_processed[get_file_type()][get_file_direction()]++;
+ if ( verdict == FILE_VERDICT_REJECT or verdict == FILE_VERDICT_BLOCK)
+ flow->disable_inspection();
}
else
{
return get_ids_from_group(conf, group, ids, count);
}
**/
-