Reverted back the experimental workaround for SslHandler that did not work
This commit is contained in:
parent
a18a070b60
commit
f1b6534aaf
@ -645,21 +645,12 @@ public class SslHandler extends FrameDecoder {
|
||||
for (;;) {
|
||||
SSLEngineResult result;
|
||||
synchronized (handshakeLock) {
|
||||
boolean outboundDone = engine.isOutboundDone();
|
||||
if (initialHandshake && !engine.getUseClientMode() &&
|
||||
!engine.isInboundDone() && !outboundDone) {
|
||||
!engine.isInboundDone() && !engine.isOutboundDone()) {
|
||||
handshake(channel);
|
||||
initialHandshake = false;
|
||||
}
|
||||
|
||||
if (outboundDone && !channel.isConnected()) {
|
||||
ChannelFuture handshakeFuture = this.handshakeFuture;
|
||||
if (handshakeFuture != null &&
|
||||
handshakeFuture.getCause() != null) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
result = engine.unwrap(inNetBuf, outAppBuf);
|
||||
} catch (SSLException e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user