mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Merge remote-tracking branch 'origin/topic/neverlord/broker-fix'
* origin/topic/neverlord/broker-fix: Update Broker submodule
This commit is contained in:
commit
7dd18ec906
4 changed files with 12 additions and 8 deletions
4
CHANGES
4
CHANGES
|
@ -1,3 +1,7 @@
|
|||
4.1.0-dev.859 | 2021-07-02 10:16:25 -0700
|
||||
|
||||
* Update Broker submodule (Dominik Charousset, Corelight)
|
||||
|
||||
4.1.0-dev.856 | 2021-07-02 13:01:05 +0100
|
||||
|
||||
* Update Mozilla CA list and CT anchors. (Johanna Amann, Corelight)
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
4.1.0-dev.856
|
||||
4.1.0-dev.859
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 2ea1df2d5067c218263a4dfec2952997246d6666
|
||||
Subproject commit ac0faa99f22a91310683d51f9c7b484ba874a309
|
|
@ -139,8 +139,8 @@ class BrokerState {
|
|||
public:
|
||||
BrokerState(BrokerConfig config, size_t congestion_queue_size)
|
||||
: endpoint(std::move(config)),
|
||||
subscriber(endpoint.make_subscriber({broker::topics::statuses,
|
||||
broker::topics::errors},
|
||||
subscriber(endpoint.make_subscriber({broker::topic::statuses(),
|
||||
broker::topic::errors()},
|
||||
congestion_queue_size))
|
||||
{
|
||||
}
|
||||
|
@ -382,7 +382,7 @@ void Manager::InitPostScript()
|
|||
if ( ! iosource_mgr->RegisterFd(bstate->subscriber.fd(), this) )
|
||||
reporter->FatalError("Failed to register broker subscriber with iosource_mgr");
|
||||
|
||||
bstate->subscriber.add_topic(broker::topics::store_events, true);
|
||||
bstate->subscriber.add_topic(broker::topic::store_events(), true);
|
||||
|
||||
InitializeBrokerStoreForwarding();
|
||||
}
|
||||
|
@ -1094,7 +1094,7 @@ void Manager::Process()
|
|||
{
|
||||
auto& topic = broker::get_topic(message);
|
||||
|
||||
if ( broker::topics::statuses.prefix_of(topic) )
|
||||
if ( broker::is_prefix(topic, broker::topic::statuses_str) )
|
||||
{
|
||||
if ( auto stat = broker::make_status_view(get_data(message)) )
|
||||
{
|
||||
|
@ -1109,7 +1109,7 @@ void Manager::Process()
|
|||
continue;
|
||||
}
|
||||
|
||||
if ( broker::topics::errors.prefix_of(topic) )
|
||||
if ( broker::is_prefix(topic, broker::topic::errors_str) )
|
||||
{
|
||||
if ( auto err = broker::make_error_view(get_data(message)) )
|
||||
{
|
||||
|
@ -1124,7 +1124,7 @@ void Manager::Process()
|
|||
continue;
|
||||
}
|
||||
|
||||
if ( broker::topics::store_events.prefix_of(topic) )
|
||||
if ( broker::is_prefix(topic, broker::topic::store_events_str) )
|
||||
{
|
||||
ProcessStoreEvent(broker::move_data(message));
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue