Squashed commit of the following:
commit
fc824674b7f4d878f4dfa7ed54bb4702f6a1aae5
Author: neha sharma <nehash4@cisco.com>
Date: Sun Mar 22 05:05:20 2020 -0400
file: apply cached verdict on already seen file
context->set_file_id(file_id);
}
+ if ( offset != 0 and
+ (FileService::get_file_cache()->cached_verdict_lookup(p, context, file_policy) !=
+ FILE_VERDICT_UNKNOWN) )
+ {
+ context->processing_complete = true;
+ remove_processed_file_context(multi_file_processing_id);
+ return false;
+ }
+
if (context->processing_complete and context->verdict != FILE_VERDICT_UNKNOWN)
{
/*A new file session, but policy might be different*/