summaryrefslogtreecommitdiffstats
path: root/src/plugins/tlsopenssl/tls_openssl.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2024-01-31 16:18:17 -0800
committerFlorin Coras <fcoras@cisco.com>2024-01-31 17:08:18 -0800
commitd7f17a23931a64badc95d57a332c2700e2f34118 (patch)
tree3c6ed66d127bf819fe43c51155f1a4effb5296ba /src/plugins/tlsopenssl/tls_openssl.c
parent4a98b9360e2552340a0953a4bed6aed95c29e3df (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/plugins/tlsopenssl/tls_openssl.c')
-rw-r--r--src/plugins/tlsopenssl/tls_openssl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/tlsopenssl/tls_openssl.c b/src/plugins/tlsopenssl/tls_openssl.c
index ee425362fd5..6c5f6cd9c7c 100644
--- a/src/plugins/tlsopenssl/tls_openssl.c
+++ b/src/plugins/tlsopenssl/tls_openssl.c
@@ -1071,8 +1071,6 @@ openssl_app_close (tls_ctx_t * ctx)
if (BIO_ctrl_pending (oc->rbio) <= 0
&& !svm_fifo_max_dequeue_cons (app_session->tx_fifo))
openssl_confirm_app_close (ctx);
- else
- ctx->flags |= TLS_CONN_F_APP_CLOSED;
return 0;
}