Please sign in to comment.
[REM3-141] Fixes to make cancellation of IoFuture<ConnectdStreamChann…
…el> and IoFuture<ConnectedSslStreamChannel> work properly. NioXnioWorker.connectTcpStream should check if the IoFuture<ConnectedStreamChannel> has been canceled. In case future is cancelled, tcp channel should be closed. Plus, JsseXnioSsl.connectSsl must connect the Ssl channel future with the underlying non-ssl future, to make cancellation work on both, if one of them is cancelled. Finally, JsseConnectedSslStreamChannel must handle the scenario where the other end is cancelled prior to creation of a corresponding JsseConnectedSslStreamChannel. Without an SSLEngine on the client side, no ssl message will be wrapped to the server ssl channel.
- Loading branch information...
Showing with 35 additions and 8 deletions.