tls: handle transport reset
Type:fix Change-Id: I5994fb53dc4b9fd58920b3d67472c38b41db27c2 Signed-off-by: Florin Coras <fcoras@cisco.com> (cherry picked from commit f03c49413f270386d46a82dd9a3bce819cf81250)
This commit is contained in:
parent
58e95bc2cd
commit
1403fe6047
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user