Issue #464 - Improve reporting of SSLHandshakeException.
Making sure that the raw EndPoint is closed if the decrypted EndPoint output is shutdown when the input is also shutdown.
This commit is contained in:
parent
031bc0fed9
commit
4762a6eaa3
|
@ -926,7 +926,9 @@ public class SslConnection extends AbstractConnection
|
|||
_sslEngine.closeOutbound();
|
||||
// Send the TLS close message.
|
||||
flush(BufferUtil.EMPTY_BUFFER);
|
||||
if (!ishut)
|
||||
if (ishut)
|
||||
getEndPoint().close();
|
||||
else
|
||||
ensureFillInterested();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue