[Bro-Dev] [JIRA] (BIT-1408) Broker I/O loop issue
Robin Sommer (JIRA)
jira at bro-tracker.atlassian.net
Thu Jun 4 07:58:01 PDT 2015
[ https://bro-tracker.atlassian.net/browse/BIT-1408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20917#comment-20917 ]
Robin Sommer commented on BIT-1408:
-----------------------------------
Ah, I had missed the difference between the two solutions in that
regard. Alright, I'm going with your solution. Really hope we get to
overhauling the I/O loop sometime soon.
> 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