diff options
author | Florin Coras <fcoras@cisco.com> | 2023-12-13 14:26:19 -0800 |
---|---|---|
committer | Dave Barach <vpp@barachs.net> | 2023-12-14 22:58:31 +0000 |
commit | 86b02c728c50d74f9562715c7099e33b977fda5d (patch) | |
tree | 60b063a31df57bb59d697379f4f0ec3b9474d550 /src/vnet | |
parent | bc67e9fd206ef3d6234960a61a7f9ab56a938ef2 (diff) |
tls: no closed notify if no app session
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I0e58bb970d371818217390d451cf26925b04970f
Diffstat (limited to 'src/vnet')
-rw-r--r-- | src/vnet/tls/tls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/tls/tls.c b/src/vnet/tls/tls.c index 1364a4fbbe7..6882f806231 100644 --- a/src/vnet/tls/tls.c +++ b/src/vnet/tls/tls.c @@ -749,7 +749,8 @@ tls_session_transport_closed_callback (session_t *ts) tls_ctx_t *ctx; ctx = tls_ctx_get_w_thread (ts->opaque, ts->thread_index); - session_transport_closed_notify (&ctx->connection); + if (!ctx->no_app_session) + session_transport_closed_notify (&ctx->connection); } static session_cb_vft_t tls_app_cb_vft = { |