aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vnet/session/application_local.c2
-rw-r--r--src/vnet/session/session_types.h3
-rw-r--r--src/vnet/tls/tls.c2
3 files changed, 0 insertions, 7 deletions
diff --git a/src/vnet/session/application_local.c b/src/vnet/session/application_local.c
index 5a3f738dd82..83a6c8eb49c 100644
--- a/src/vnet/session/application_local.c
+++ b/src/vnet/session/application_local.c
@@ -129,7 +129,6 @@ ct_session_connect_notify (session_t * ss)
cs->session_state = SESSION_STATE_CONNECTING;
cs->app_wrk_index = client_wrk->wrk_index;
cs->connection_index = cct->c_c_index;
- cs->t_app_index = client_wrk->app_index;
cct->c_s_index = cs->session_index;
cct->client_rx_fifo = ss->tx_fifo;
@@ -282,7 +281,6 @@ ct_connect (app_worker_t * client_wrk, session_t * ll,
server_wrk = application_listener_select_worker (ll);
ss->app_wrk_index = server_wrk->wrk_index;
- ss->t_app_index = server_wrk->app_index;
sct->c_s_index = ss->session_index;
sct->server_wrk = ss->app_wrk_index;
diff --git a/src/vnet/session/session_types.h b/src/vnet/session/session_types.h
index 3b6ab3dce88..7755fe30ee6 100644
--- a/src/vnet/session/session_types.h
+++ b/src/vnet/session/session_types.h
@@ -177,9 +177,6 @@ typedef struct session_
union
{
- /** Transport app index for apps acting as transports */
- u32 t_app_index;
-
/** App listener index */
u32 al_index;
diff --git a/src/vnet/tls/tls.c b/src/vnet/tls/tls.c
index ce62765b7aa..c64a6d18561 100644
--- a/src/vnet/tls/tls.c
+++ b/src/vnet/tls/tls.c
@@ -202,7 +202,6 @@ tls_notify_app_accept (tls_ctx_t * ctx)
app_session->connection_index = ctx->tls_ctx_handle;
app_session->session_type = app_listener->session_type;
app_session->listener_index = app_listener->session_index;
- app_session->t_app_index = tls_main.app_index;
app_session->session_state = SESSION_STATE_ACCEPTING;
if ((rv = app_worker_init_accepted (app_session)))
@@ -240,7 +239,6 @@ tls_notify_app_connected (tls_ctx_t * ctx, u8 is_failed)
app_session->connection_index = ctx->tls_ctx_handle;
app_session->session_type =
session_type_from_proto_and_ip (TRANSPORT_PROTO_TLS, ctx->tcp_is_ip4);
- app_session->t_app_index = tls_main.app_index;
if (app_worker_init_connected (app_wrk, app_session))
goto failed;