Optimize Connection::RemovalEvent() for bare-mode usage

It was creating RecordVals even if they wouldn't be used by any event
handler and that situation is common/expected for `zeek -b` mode.
Normally, there's at least the tunnel scripts with a `new_connection`
handler causing the connection RecordVals to be built.
This commit is contained in:
Jon Siwek 2020-06-10 16:30:56 -07:00
parent e924370876
commit 0bc1d73c84
3 changed files with 12 additions and 5 deletions

View file

@ -1 +1 @@
3.2.0-dev.762
3.2.0-dev.763