SSLEngine.beginHandshake() can throw a RuntimeException.
This commit is contained in:
parent
dc0498d82b
commit
21269fa073
@ -338,7 +338,7 @@ public class SslHandler extends FrameDecoder
|
||||
engine.beginHandshake();
|
||||
runDelegatedTasks();
|
||||
handshakeFuture = this.handshakeFuture = future(channel);
|
||||
} catch (SSLException e) {
|
||||
} catch (Exception e) {
|
||||
handshakeFuture = this.handshakeFuture = failedFuture(channel, e);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user