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