tls: enable async node on demand 35/24335/2
authorYu Ping <ping.yu@intel.com>
Tue, 14 Jan 2020 22:24:44 +0000 (06:24 +0800)
committerFlorin Coras <florin.coras@gmail.com>
Wed, 15 Jan 2020 15:55:34 +0000 (15:55 +0000)
Type: fix

Change-Id: Iab7c65614c94497e8ec5a96624be72c1a139e486
Signed-off-by: Yu Ping <ping.yu@intel.com>
src/plugins/tlsopenssl/tls_async.c

index e577f34..1d3ca8b 100644 (file)
@@ -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* */
 
 /*