Skip to content
Permalink
Browse files
Cancel the handshake when closing the session
  • Loading branch information
elecharny committed Mar 24, 2022
1 parent d107fff commit 36067cb58a2a8121d5253da4ea19858e23bc1722
Showing 1 changed file with 5 additions and 1 deletion.
@@ -4848,6 +4848,11 @@ public void sessionClosed( IoSession session ) throws Exception
{
authenticated.set( false );

if ( handshakeFuture != null )
{
handshakeFuture.cancel();
}

// Close all the Future for this session
for ( ResponseFuture<? extends Response> responseFuture : futureMap.values() )
{
@@ -5458,5 +5463,4 @@ public SSLSession getSslSession()
return null;
}
}

}

0 comments on commit 36067cb

Please sign in to comment.