diff options
author | Florin Coras <fcoras@cisco.com> | 2024-01-31 16:18:17 -0800 |
---|---|---|
committer | Florin Coras <fcoras@cisco.com> | 2024-01-31 17:08:18 -0800 |
commit | d7f17a23931a64badc95d57a332c2700e2f34118 (patch) | |
tree | 3c6ed66d127bf819fe43c51155f1a4effb5296ba /src/vnet/tls/tls.c | |
parent | 4a98b9360e2552340a0953a4bed6aed95c29e3df (diff) |
tls: set app closed flag in framework
Set the flag in tls framework as opposed to tls engines. This is similar
to passive close.
Type: improvement
Change-Id: I0c2a774b1ef9d7ec6ba74daf1678ea449815184f
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/tls/tls.c')
-rw-r--r-- | src/vnet/tls/tls.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/tls/tls.c b/src/vnet/tls/tls.c index db5d1c6feeb..30aafe096a5 100644 --- a/src/vnet/tls/tls.c +++ b/src/vnet/tls/tls.c @@ -845,6 +845,7 @@ tls_disconnect (u32 ctx_handle, u32 thread_index) TLS_DBG (1, "Disconnecting %x", ctx_handle); ctx = tls_ctx_get (ctx_handle); + ctx->flags |= TLS_CONN_F_APP_CLOSED; tls_ctx_app_close (ctx); } |