mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Merge remote-tracking branch 'origin/topic/johanna/ocsp-sct-validate'
* origin/topic/johanna/ocsp-sct-validate: SSL SCT/OCSP: small fixes by robin; mostly update comments.
This commit is contained in:
commit
0b5894ce23
7 changed files with 23 additions and 11 deletions
|
@ -118,6 +118,12 @@ string Manager::DataIn(const u_char* data, uint64 len, uint64 offset,
|
|||
if ( ! file )
|
||||
return "";
|
||||
|
||||
// This only has any effect when
|
||||
// * called for the first time for a file
|
||||
// * being called before file->DataIn is called for the first time (before data is
|
||||
// added to the bof buffer).
|
||||
// Afterwards SetMime just ignores what is passed to it. Thus this only has effect during
|
||||
// the first Manager::DataIn call for each file.
|
||||
if ( ! mime_type.empty() )
|
||||
file->SetMime(mime_type);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue