diff options
author | Florin Coras <fcoras@cisco.com> | 2019-08-07 21:39:27 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-08-09 11:49:29 +0000 |
commit | f03c49413f270386d46a82dd9a3bce819cf81250 (patch) | |
tree | bb66fbbb3fc536ba6bb90bda80e3596c4b6067d9 | |
parent | 4ea511c855ae9bf2040f8cff8b7323692094e8c6 (diff) |
tls: handle transport reset
Type:fix
Change-Id: I5994fb53dc4b9fd58920b3d67472c38b41db27c2
Signed-off-by: Florin Coras <fcoras@cisco.com>
-rw-r--r-- | src/vnet/tls/tls.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/vnet/tls/tls.c b/src/vnet/tls/tls.c index 16405707bc9..1358f9cb345 100644 --- a/src/vnet/tls/tls.c +++ b/src/vnet/tls/tls.c @@ -357,7 +357,12 @@ tls_ctx_handshake_is_over (tls_ctx_t * ctx) void tls_session_reset_callback (session_t * s) { - clib_warning ("called..."); + tls_ctx_t *ctx; + + ctx = tls_ctx_get (s->opaque); + session_transport_reset_notify (&ctx->connection); + session_transport_closed_notify (&ctx->connection); + tls_disconnect_transport (ctx); } int |