tls: handle transport reset

Type:fix

Change-Id: I5994fb53dc4b9fd58920b3d67472c38b41db27c2
Signed-off-by: Florin Coras <fcoras@cisco.com>
This commit is contained in:
Florin Coras
2019-08-07 21:39:27 -07:00
committed by Dave Barach
parent 4ea511c855
commit f03c49413f

View File

@@ -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