diff options
author | Florin Coras <fcoras@cisco.com> | 2023-10-06 17:31:32 -0700 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2023-10-09 21:41:12 +0000 |
commit | 4ba523740f1346640a5b786cfff12180946ae37d (patch) | |
tree | 584099491bd20eb681df51a771b10d0585367bc3 | |
parent | 05919da49d885d757774dbc3fe9b78985cfd9742 (diff) |
tls: no read after app close
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I34f8ee2e36d07e8e55e21561528fc6b73feb852f
(cherry picked from commit 3843d0dd03a3ebbdb5d13b54e1b871a8ea72498c)
-rw-r--r-- | src/vnet/tls/tls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/tls/tls.c b/src/vnet/tls/tls.c index b7ef7de6bd9..aca8c9f16a3 100644 --- a/src/vnet/tls/tls.c +++ b/src/vnet/tls/tls.c @@ -516,7 +516,7 @@ tls_app_rx_callback (session_t * tls_session) return 0; ctx = tls_ctx_get (tls_session->opaque); - if (PREDICT_FALSE (ctx->no_app_session)) + if (PREDICT_FALSE (ctx->no_app_session || ctx->app_closed)) { TLS_DBG (1, "Local App closed"); return 0; |