mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-04 04:49:12 +00:00
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…
x
Reference in New Issue
Block a user