diff options
author | Yu Ping <ping.yu@intel.com> | 2020-01-21 05:07:30 +0800 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2020-02-03 16:34:01 +0000 |
commit | f4a92f6a1cf6b27318b6819ad3145b4020a27779 (patch) | |
tree | 31424b9e947f0582731921929b1a03676b3db972 /src/vnet/tls/tls.c | |
parent | 564e1672917e205d7ae79525bb937df18f8d764b (diff) |
tls: refactor for tls async event handling
Type: refactor
Make sure one tls ctx has one event availble
Thus ctx has the same life time with event, which can simplify the
management.
Change-Id: I1f4240e7316025d81bb97644946ffa399c00cd76
Signed-off-by: Yu Ping <ping.yu@intel.com>
Diffstat (limited to 'src/vnet/tls/tls.c')
-rw-r--r-- | src/vnet/tls/tls.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vnet/tls/tls.c b/src/vnet/tls/tls.c index 8273e15585d..8359cca5c00 100644 --- a/src/vnet/tls/tls.c +++ b/src/vnet/tls/tls.c @@ -211,8 +211,6 @@ tls_notify_app_accept (tls_ctx_t * ctx) return rv; } ctx->app_session_handle = session_handle (app_session); - session_lookup_add_connection (&ctx->connection, - session_handle (app_session)); ctx->parent_app_wrk_index = app_session->app_wrk_index; app_wrk = app_worker_get (app_session->app_wrk_index); return app_worker_accept_notify (app_wrk, app_session); |