Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
bc67e9f
)
tls: no closed notify if no app session
03/40103/3
author
Florin Coras
<fcoras@cisco.com>
Wed, 13 Dec 2023 22:26:19 +0000
(14:26 -0800)
committer
Dave Barach
<vpp@barachs.net>
Thu, 14 Dec 2023 22:58:31 +0000
(22:58 +0000)
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I0e58bb970d371818217390d451cf26925b04970f
src/vnet/tls/tls.c
patch
|
blob
|
history
diff --git
a/src/vnet/tls/tls.c
b/src/vnet/tls/tls.c
index
1364a4f
..
6882f80
100644
(file)
--- 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 = {