mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 20:48:21 +00:00
Spicy: Provide zeek::skip_input()
to disable deliver to current analyzer.
``` ## Tells Zeek to skip sending any further input data to the current analyzer. ## This is supported for protocol and file analyzers. public function skip_input() : void; ``` Closes #3443.
This commit is contained in:
parent
9b1f3b5838
commit
f5aa5c3466
8 changed files with 140 additions and 2 deletions
|
@ -381,7 +381,7 @@ void protocol_handle_close(const ProtocolHandle& handle);
|
|||
* Signals the beginning of a file to Zeek's file analysis, associating it
|
||||
* with the current connection.
|
||||
*
|
||||
* param mime_type optional mime type passed to Zeek
|
||||
* @param mime_type optional mime type passed to Zeek
|
||||
* @returns Zeek-side file ID of the new file
|
||||
*/
|
||||
std::string file_begin(const std::optional<std::string>& mime_type);
|
||||
|
@ -397,6 +397,12 @@ std::string fuid();
|
|||
*/
|
||||
void terminate_session();
|
||||
|
||||
/**
|
||||
* Tells Zeek to skip sending any further input data to the current protocol
|
||||
* or file analyzer.
|
||||
*/
|
||||
void skip_input();
|
||||
|
||||
/**
|
||||
* Signals the expected size of a file to Zeek's file analysis.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue