summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYu Ping <ping.yu@intel.com>2020-01-15 06:24:44 +0800
committerFlorin Coras <florin.coras@gmail.com>2020-01-15 15:55:34 +0000
commitd63b356bdf29fbb80f810d341dcaf8f5f92121c1 (patch)
tree92b6527c4a80f0dcffd4b931fabf3601557c43f0
parent180210f99b74b97b127b7800bdc7bd243713cbf4 (diff)
tls: enable async node on demand
Type: fix Change-Id: Iab7c65614c94497e8ec5a96624be72c1a139e486 Signed-off-by: Yu Ping <ping.yu@intel.com>
-rw-r--r--src/plugins/tlsopenssl/tls_async.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/tlsopenssl/tls_async.c b/src/plugins/tlsopenssl/tls_async.c
index e577f34eacf..1d3ca8b82b8 100644
--- a/src/plugins/tlsopenssl/tls_async.c
+++ b/src/plugins/tlsopenssl/tls_async.c
@@ -117,8 +117,6 @@ evt_pool_init (vlib_main_t * vm)
}
om->polling = NULL;
- openssl_async_node_enable_disable (0);
-
return;
}
@@ -521,9 +519,9 @@ VLIB_REGISTER_NODE (tls_async_process_node,static) = {
.function = tls_async_process,
.type = VLIB_NODE_TYPE_INPUT,
.name = "tls-async-process",
+ .state = VLIB_NODE_STATE_DISABLED,
};
-
/* *INDENT-ON* */
/*