tls: handle transport reset
Type:fix Change-Id: I5994fb53dc4b9fd58920b3d67472c38b41db27c2 Signed-off-by: Florin Coras <fcoras@cisco.com>
This commit is contained in:

committed by
Dave Barach

parent
4ea511c855
commit
f03c49413f
@@ -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
|
||||
|
Reference in New Issue
Block a user