mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +00:00
Merge remote-tracking branch 'origin/topic/seth/fix-raw-reader-subprocess-exit'
* origin/topic/seth/fix-raw-reader-subprocess-exit: Fix an issue with raw reader culling streams for dead processes. Updated the 'exec' utility to no longer remove input streams for processes that are finished as the core C++ code will take care of that (and trying to remove a stream multiple times emits a warning message).
This commit is contained in:
commit
161aae828a
4 changed files with 9 additions and 2 deletions
|
@ -131,7 +131,9 @@ event InputRaw::process_finished(name: string, source:string, exit_code:count, s
|
|||
if ( name !in pending_commands )
|
||||
return;
|
||||
|
||||
Input::remove(name);
|
||||
# Upon the process exiting, the internal Raw reader code should take
|
||||
# care of signalling that the stream needs to be disabled/removed.
|
||||
#Input::remove(name);
|
||||
results[name]$exit_code = exit_code;
|
||||
results[name]$signal_exit = signal_exit;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue