[Bro-Dev] [JIRA] (BIT-1408) Broker I/O loop issue
Robin Sommer (JIRA)
jira at bro-tracker.atlassian.net
Mon Jun 1 08:27:00 PDT 2015
Robin Sommer created BIT-1408:
---------------------------------
Summary: Broker I/O loop issue
Key: BIT-1408
URL: https://bro-tracker.atlassian.net/browse/BIT-1408
Project: Bro Issue Tracker
Issue Type: Problem
Components: Broker
Reporter: Robin Sommer
Fix For: 2.4
Attachments: patch.txt
This script from Johanna doesn't terminate:
{code}
redef exit_only_after_terminate = T;
event terminate_me() {
print "terminating";
terminate();
}
event bro_init() {
BrokerComm::enable();
schedule 1sec { terminate_me() };
}
{code}
It works once the {{enable()}} call is removed.
Attached patch seems solve the problem, but it might not be quite the right fix, not sure yet.
--
This message was sent by Atlassian JIRA
(v6.5-OD-05-041#65001)
More information about the bro-dev
mailing list