mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
When an analyzer calls DataIn(), there's a costly callback construct going through the event queue. If an analyzer does not have a get_file_handle() handler installed, the produced file_id would end up empty and ignored. Consequently, the get_file_handle() callback was invoked for every new DataIn() invocations. This is surprising and costly. Log a warning when this happens and instead set a generically generated file handle value instead to prevent the repeated get_file_handle() invocations. |
||
|---|---|---|
| .. | ||
| magic | ||
| __load__.zeek | ||
| main.zeek | ||
| README | ||
The file analysis framework provides an interface for driving the analysis of files, possibly independent of any network protocol over which they're transported.