Skip to content

Commit

Permalink
and only set cluster variables when we need them...
Browse files Browse the repository at this point in the history
  • Loading branch information
0xxon committed Dec 10, 2014
1 parent e16b593 commit bc05d43
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions validate-certs-cache-intermediates.bro
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,12 @@ export {

global intermediate_cache: table[string] of vector of opaque of x509;

@if ( Cluster::is_enabled() )
@load base/frameworks/cluster
redef Cluster::manager2worker_events += /SSL::intermediate_add/;
redef Cluster::worker2manager_events += /SSL::new_intermediate/;
@endif


function add_to_cache(key: string, value: vector of opaque of x509)
{
Expand Down

0 comments on commit bc05d43

Please sign in to comment.