mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
FileAnalysis: small tweak to file handle generation.
For files that go over a single connection, add connection start time to handle, so the file id will always differ even if the same connection parameters are later used to transfer a file (same one or different).
This commit is contained in:
parent
3dd513e26e
commit
bb3228e8f6
2 changed files with 10 additions and 5 deletions
|
@ -855,6 +855,8 @@ void HTTP_Analyzer::Done()
|
|||
Unref(unanswered_requests.front());
|
||||
unanswered_requests.pop();
|
||||
}
|
||||
|
||||
file_mgr->EndOfFile(Conn());
|
||||
}
|
||||
|
||||
void HTTP_Analyzer::DeliverStream(int len, const u_char* data, bool is_orig)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue